How to install Linux Kernel 4.12 on OpenSUSE

Hello everyone, today I will show you how to install Linux Kernel 4.12 on OpenSUSE. As you know, the new Linux Kernel 4.12 is now available for download. Installing Linux Kernel on OpenSUSE is pretty easy. Simply follow these steps below.

install linux kernel 4.12 on opensuse

Install Linux Kernel 4.12 on OpenSUSE

Step 1. Check current Kernel version

uname -r

Example output

3.16.7-29-desktop

As you can see, the current Kernel version installed is version 3.16.7-29. Now we need to make OpenSUSE support multiple Kernel.

Step 2. Add multiple Kernel support

Edit zypp.conf

sudo nano /etc/zypp/zypp.conf

Now find the following lines and modify them as shown below

multiversion = provides:multiversion(kernel)
[...]
multiversion.kernels = latest,latest-1,running,oldest
[...]

Step 3. Add OpenSUSE Head Repository

Now add OpenSUSE Head repository

sudo zypper addrepo -f http://download.opensuse.org/repositories/Kernel:/HEAD/standard/ kernel-repo

Sample Output

Retrieving repository 'kernel-repo' metadata --------------------------------[|]

New repository or package signing key received:

 Repository: kernel-repo 
 Key Name: Kernel OBS Project <Kernel@build.opensuse.org>
 Key Fingerprint: 4529410A B52F94C4 03BAB484 ECEEF210 03579C1D 
 Key Created: Wed 22 Apr 2015 05:55:51 PM IST 
 Key Expires: Fri 30 Jun 2017 05:55:51 PM IST 
 Rpm Name: gpg-pubkey-03579c1d-5537934f 

Do you want to reject the key, trust temporarily, or trust always? [r/t/a/? shows all options] (r): a

Answer by typing “a” without quotes and the installation will begin. Once completed, re-check the new Kernel using command

uname -r

You should now see new Kernel 4.12 installed on your system. For example:

4.12.0-1.ge2f4d0f-default

Thank you for reading this post.

Useful Links:

Be the first to comment

Leave a Reply

Your email address will not be published.


*