How to install Linux kernel 5.5 on OpenSUSE 15.1?

0
189

Hello friends in this post, we will help you install the Linux kernel 5.5 on OpenSUSE 15.1 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

Linux 5.5 is here!

However, this version of the kernel will not automatically come into our distribution unless we install it manually. One such distribution is OpenSUSE 15.1. 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.5

First, check the version of the kernel that is running OpenSUSE 15.1:

:~$ uname -r

And you will see something like this:

1.- OpenSUSE 15.1 kernel
1.- OpenSUSE 15.1 kernel

OpenSUSE 15.1 has the 4.12 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
2.- Adding the linux kernel repository for OpenSUSE
2.- Adding the linux kernel repository for OpenSUSE

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
3.- Refresh the repositories
3.- Refresh the repositories

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.

Loading repository data...
Reading installed packages...
Computing distribution upgrade...
3 Problems:
Problem: problem with installed package kernel-default-4.12.14-lp151.27.3.x86_64
Problem: problem with installed package kernel-firmware-20190118-lp151.1.10.noarch
Problem: problem with installed package ucode-amd-20190118-lp151.1.10.noarch

Problem: problem with installed package kernel-default-4.12.14-lp151.27.3.x86_64
Solution 1: Following actions will be done:
install kernel-default-5.5.0-3.1.g7e57096.x86_64 (with vendor change)
openSUSE --> obs://build.opensuse.org/Kernel
deinstallation of kernel-default-4.12.14-lp151.27.3.x86_64
Solution 2: keep obsolete kernel-default-4.12.14-lp151.27.3.x86_64

Choose from above solutions by number or skip, retry or cancel [1/2/s/r/c] (c):
4.- Installing Linux kernel 5.5 on OpenSUSE 15.1
4.- Installing Linux kernel 5.5 on OpenSUSE 15.1

Then, reboot the system.

Once the system has started, it checks the changes.

:~$ uname -r
5.- Linux kernel 5.5 installed
5.- Linux kernel 5.5 installed

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.

LEAVE A REPLY

Please enter your comment!
Please enter your name here