目录

1. Check Kernel Version

Upgrade Kernel

  • Check if the source list is up to date

1grep 2303 /etc/apt/sources.list

If 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

1echo deb http://archive.kylinos.cn/kylin/KYLIN-ALL 10.1-2303-updates main restricted universe multiverse | sudo tee /etc/apt/sources.list.d/v10sp12303.list
  • Get the latest package.

1sudo apt-get update -y
  • Upgrade all the packages that can be upgraded

1sudo apt-get full-upgrade -y
  • Remove unnecessary software

1sudo apt-get autoremove -y
  • Reboot your system: Please make sure to restart your system so that the new kernel takes effect before installing OpenFDE.

1sudo apt-get autoclean -y && reboot

If you have previously installed OpenFDE, after upgrading the kernel version, you need to first clean up the old fdeion-dkms.

1sudo apt purge fdeion-dkms

2. 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

1sudo apt-get install wget gpg

3.2 Download the encryption key file from the official website and decrypt it locally

1wget -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

1sudo 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

1sudo echo \ 2 "deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/packages.openfde.gpg] http://openfde.com/repos/kylin/ \ 3 "$(. /etc/os-release && echo "$PROJECT_CODENAME")" main" | \ 4 sudo tee /etc/apt/sources.list.d/openfde.list > /dev/null

3.5 Delete the downloaded key file

1rm -f packages.openfde.gpg

4 Install OpenFDE

4.1 Update Software Source

1sudo apt-get update

4.2 Install OpenFDE

1sudo apt-get install fdeion-dkms openfde

5. Upgrade OpenFDE

Firstly update the software source.

1sudo apt-get update

Upgrade OpenFDE to the latest version.

1sudo apt-get install openfde