Hello friends in this post, we will help you install the Linux kernel 5.8 on OpenSUSE 15.2 that comes with many new features.
Recently a new version of the Linux kernel has been released. As always it updates many important drivers and adds support for new features. If you want to know more about this, read our post
However, this version of the kernel will not automatically come into our distribution unless we install it manually. One such distribution is OpenSUSE 15.2. So this is the goal of the post.
On the other hand, it is good to give you a warning and that is that if your system is very stable and you don’t have a real need to upgrade the kernel, you better not do it. This is because the kernel is where the drivers for all the hardware are located.
So you know the process brings advantages but also some risks.
So, let’s get started.
Install Linux kernel 5.8
First, check the version of the kernel that is running OpenSUSE 15.2:
:~$ uname -r
And you will see something like this:
OpenSUSE 15.2 has the 5.3 kernel installed by default.
OpenSUSE has a lot of fairly stable community repositories for many different packages. And there is also one for the Linux kernel. So, let’s add it.
:~$ sudo zypper ar https://download.opensuse.org/repositories/Kernel:/stable/standard/ kernel
After it’s properly added. We’re going to change the priority so that when we update the system it takes this repository into account.
:~$ sudo zypper mr -p 70 kernel
Repository 'kernel' priority has been set to 70.
After that, you need to refresh zypper to be able to recognize the new repository. When you use it for the first time, it will ask you to accept the GPG keys.
:~$ sudo zypper refresh
Now if we proceed with the installation. To do this, we must partially update the distribution but from the recently added repository.
:~$ sudo zypper dup -r kernel
When you run this command, you will notice that zypper will find some errors. This is normal, we are installing a new version of the kernel and from another repository.
To solve these problems, choose 1 in each question.
Then, reboot the system.
Once the system has started, it checks the changes.
:~$ uname -r
And that is it. Keep in mind that this method eliminates the kernel by default, so it is a risk.
So, share this post and join our Telegram Channel.