目录 | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
1. System Requirements
To install OpenFDE on a Raspberry Pi with the Ubuntu 22.04 operating system, please ensure that you meet the following requirements.
Operating System
...
Ubuntu Jammy 22.04.3 5 (LTS) and 24.04.1 with ARM64 architecture support.
Kernel
Raspberry Pi 4B or higher with kernel version 5.15.0-1044 raspi or later.
Memory
It is recommended to have as much memory as possible.
We have researched, tested, and adapted OpenFDE for the kernel version 5.15.0-1044 raspi. However, if you have a different kernel version, you can still try installing it. If you encounter any issues during the installation process, please feel free to provide feedback.
RaspiBerry Pi OS
Hardware
Raspi 4B
Raspi 5.
Memory
equal and greater than 8G
2. Writing Operating System Image
First, download the Raspberry Pi image writing tool called Raspberry Pi Imager. You can find the download link onhttps://www.raspberrypi.com/software/ Here is an example of the image writing process:
...
3. Configure Ubuntu
After the writing process is completed, start the system on your Raspberry Pi and boot into Ubuntu. Follow the setup wizard to complete the necessary configurations.
...
select ubuntu 24.04.1 from Other general-purpose OS->Ubuntu
select Raspberry Pi OS(64-bit) from the main page
3. Configure Installation Source And Certificates(Optional)
When installing OpenFDE for the first time, you will need to obtain the complete software source and configure the installation source and certificates.
Note: If this is not your first time installing OpenFDE, you can skip the "Configure Installation Source and Certificates" section and proceed directly to the #install-openfde
...
3.1 Install wget and gpg
代码块 |
---|
sudo apt-get install wget gpg |
...
3.2 Download the encryption key file from the official website and decrypt it locally
代码块 |
---|
wget -qO- http://openfde.com/keys/openfde.asc | gpg --dearmor > packages.openfde.gpg |
...
3.3 Copy the decrypted key file to the key folder of your local apt tool
代码块 |
---|
sudo install -D -o root -g root -m 644 packages.openfde.gpg /etc/apt/keyrings/packages.openfde.gpg |
...
3.4 Configure the software repository address for OpenFDE
代码块 |
---|
sudo echo \ "deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/packages.openfde.gpg] http://openfde.com/repos/ubuntu/ \ "$(. /etc/os-release && echo "$PROJECT_CODENAME")" main" | \ sudo tee /etc/apt/sources.list.d/openfde.list > /dev/null |
...
3.5 Delete the downloaded key file
代码块 |
---|
rm -f packages.openfde.gpg |
...
4. Install OpenFDE
锚 | ||||
---|---|---|---|---|
|
...
4.1 Update Software Source
代码块 |
---|
sudo apt-get update |
...
4.2 Install OpenFDE
代码块 |
---|
sudo apt-get install openfde |
...
5. Upgrade OpenFDE
Firstly update the software source.
...
Upgrade OpenFDE to the latest version.
代码块 |
---|
sudo apt-get install openfde |
6. Kernel and cmdline of Raspberry PI OS
Raspberry Pi OS kernel has not been enabled cgroup_cpuset and cgroup_memory, and enabled the unified_cgropy_hierarchy. We need change it.
vim /boot/firmware/cmdline.txt
代码块 |
---|
psi=1 cgroup_enable=cpuset cgroup_enable=memory cgroup_memory=1 systemd.unified_cgroup_hierarchy=0 |
The default kernel of the Raspberry 5 is 2712 version, we need change it to v8 kernel to support 32 and 64 together.
The way to choose the kernel:
代码块 |
---|
sudo apt install vim -y vim /boot/firmware/config.txt kernel=kernel8.img #wq |
You need a reboot to make the updates available . These modifies is included by the get-openfde.sh, you should not modify by manual.
7 Supported way to run OpenFDE
Launch the OpenFDE application by clicking on its icon in the application list in a Wayland protocol desktop, such as Wayfire.
Launch the OpenFDE as a desktop environment. By default, Raspberry Pi OS uses the raspi-desktop environment with automatic login enabled. To enable the option to choose the FDE desktop during login, the following modifications can be made.
a.replace the pi-greeter with lightdm-gtk-greeter代码块 vim /etc/lightdm/lightdm.conf greeter-session=lightdm-gtk-greeter
b. cancel the automatic login
代码块 sudo raspi-config → 1 System Options → S5 Boot /Auto Login → B3
Reboot it, you' ll find the fde desktop by clicking the right top icon in a desktop list.