Then we will stop operations that can not run the operating system, be advised that it will perform the procedure if you know what you are doing. It is also always advisable Make a complete backup of your system before proceeding. For this reason Deepin in Spanish is not liable to any damage that can make your system.
Welcome, you are here for sure because you want to know more about how to keep deepin with the latestkernel available, first a little information: kernel is the heart of the operating system without it we could not do any work, as it ensures that the Software and Hardware our PC function properly and can interact with each other.
The main functions are:
+Manage RAM, so they can run all programs and processes running. Memory must be used efficiently, dividing it between different services and applications so that everything runs smoothly, since a current operating system is 'multitasking', so multiple applications and services running all the time at the same time .
+Manage time of the processor, which is used by running processes. We currently have multiple processor cores and threads, so the kernel You must divide the tasks that makes your computer among all CPU cores for these tasks are performed correctly without overlapping each other.
+Manage access and use of the different hardware connected to the computer. As he hardware internal and motherboard, processor, memory and storage units, even those that are considered peripherals such as mouse, keyboard, monitor, USB keys, cameras, telephones, etc.
For the latest kernel on your Deepin we must perform the following steps:
Add the repository LvTommy which is stored in the kernel compatible with Deepin, to be more specific install the kernel provided by xanmod but this repository will help us do everything automatically.
First we download the .deb file which we will have to run to add the necessary repository to our system. Then you leave the download repository that will make it possible to follow the steps in this tutorial, it is provided by LvTommy.
Once downloaded the file to your computer proceed to make the appropriate installation package for the repository in our system.
Then we have to use the terminal to run the command sudo apt update to refresh the list of repositories in the system and it appears that we just added.
For installation we have 2 options to install the latest kernel and automatically install new versions or installing a specific version:
We'll have to run the command: sudo apt search xanmod and screen were we deployed the options available to install, once located the package to install open a terminal and type:
sudo apt install linux-image-xxx-xanmodx && sudo apt install linux-headers-xxx-xanmodx
eg: Sudo apt install linux-image-5.3.10-xanmod7 && sweat apt install linux-headers-5.3.10-xanmod7
Finally we have to put Sudo update-grub to refresh the available options in the boot loader to boot from the new version of the kernel.
We'll have to run the command sudo apt install lvtommy-linux-kernel to proceed to install the kernel, this package will do everything for us install the kernel and update the grub to leave everything running smoothly.
Once done any of the 2 procedures proceed to restart the computer to initiate the new kernel you just installed. To check the version of the kernel will console uname -r.
If we choose the installation option automatically obtain the latest versions to rise to the repository, if we want to check if a new version we have to put sudo apt update In the terminal.
Later if the system finds an update we have to put Sudo apt full-upgrade for upgrading to the latest version automatically.
Will it work this procedure with future versions of Deepin / UOS?
UOS by filtration perform the test if supported and obtained positive results in stable running way you can see below: (Click on the image to see it full size).
If you had problems and want to return to the original kernel of Deepin I leave the process to remove it from the system varies depending on the type of installation you perform.
If we make an installation manual we need to run depending on the kernel installed, we will give an example with version 5.4.
apt-get remove --purge install linux-image-5.4.0-xanmod0 && apt-get remove --purge linux-headers-5.4.0-xanmod0
Update the boot loader.
And subtract restart the computer.
Sudo init 6
However if we make an installation automatic we must execute the following command, which will perform a set of operations.
sudo apt remove lvtommy-linux-kernel
Then we have to restart with this command.
Sudo init 6
We hope that the tutorial will be useful, if you have any questions or concerns to respect please leave us a comment, tell us your experience to the update kernel. Again a friendly reminder that you must back up before doing the above. Luck!