1. Check Kernel Version
If your kernel version is lower than 5.4.18-85, please upgrade your kernel version first.
If your kernel version is 5.4.18-85 or higher, please click directly on the link to proceed with the disable-security-control
Upgrade Kernel 锚
Check if the source list is up to date
grep 2303 /etc/apt/sources.listIf the results obtained from grep include the source list for version 2303, you can skip the following step of updating the source list.
Update the source list
echo deb http://archive.kylinos.cn/kylin/KYLIN-ALL 10.1-2303-updates main restricted universe multiverse | sudo tee /etc/apt/sources.list.d/v10sp12303.listGet the latest package.
sudo apt-get update -yUpgrade all the packages that can be upgraded
sudo apt-get full-upgrade -yRemove unnecessary software
sudo apt-get autoremove -y Reboot your system: Please make sure to restart your system so that the new kernel takes effect before installing OpenFDE.
sudo apt-get autoclean -y && rebootIf you have previously installed OpenFDE, after upgrading the kernel version, you need to first clean up the old fdeion-dkms.
sudo apt purge fdeion-dkms2. Disable Security Controls 锚
To ensure a smooth installation and startup of OpenFDE, before you begin installing OpenFDE, you need to disable all security controls on your current system. In your current system, go to Settings and navigate to Security. Enter the Security Center or Security Settings.
Using network control as an example, you should disable application internet access control. Additionally, it is recommended to disable controls related to application protection and device security.
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 gpg3.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.gpg3.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.gpg3.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/kylin/ \
"$(. /etc/os-release && echo "$PROJECT_CODENAME")" main" | \
sudo tee /etc/apt/sources.list.d/openfde.list > /dev/null3.5 Delete the downloaded key file
rm -f packages.openfde.gpg4 Install OpenFDE 锚
4.1 Update Software Source
sudo apt-get update4.2 Install OpenFDE
sudo apt-get install fdeion-dkms openfde 5. Upgrade OpenFDE
Firstly update the software source.
sudo apt-get updateUpgrade OpenFDE to the latest version.
sudo apt-get install openfde