Linux Kernel 4.7 final version is out few days ago. We have already posted a step by step guide that described how to install Linux Kernel 4.7 in CentOS 7 and Ubuntu 16.04 LTS.
Today, in this brief tutorial, We will see how to install latest Kernel 4.7 version in openSUSE 13.2.
Install Linux Kernel 4.7 in openSUSE
First let us check the currently installed Kernel version using command:
uname -r
Sample output:
3.16.7-29-desktop
Or,
uname -a
Sample output:
Linux linux.suse 3.16.7-29-desktop #1 SMP PREEMPT Fri Oct 23 00:46:04 UTC 2015 (6be6a97) x86_64 x86_64 x86_64 GNU/Linux

As you in the above outputs, the current installed Kernel version is 3.16.7-29.
Now, let us make the system to support multiple kernel configurations. That means, our system should contain both latest and oldest Kernel (the one that ships with openSUSE).
To do so, Edit /etc/zypp/zypp.conf file:
sudo nano /etc/zypp/zypp.conf
Find the following lines and modify them as shown below.
multiversion = provides:multiversion(kernel) [...] multiversion.kernels = latest,latest-1,running,oldest [...]
Save and close the file.
Then, add openSUSE Kernel HEAD repository that contains the latest Linux Kernel. At the time of writing, the latest Kernel version is 4.7.
To add Kernel HEAD repository, run:
sudo zypper addrepo -f http://download.opensuse.org/repositories/Kernel:/HEAD/standard/ kernel-repo
Sample output:
Adding repository 'kernel-repo' ..........................................[done] Repository 'kernel-repo' successfully added Enabled : Yes Autorefresh : Yes GPG Check : Yes URI : http://download.opensuse.org/repositories/Kernel:/HEAD/standard/
Finally, run the following command to do distribution upgrade only from the Kernel HEAD repository. It means the Kernel will only be upgraded to the latest version.
sudo zypper dist-upgrade -r kernel-repo
Type "a" without quotes to enable Kernel-repo and add the GPG key.
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
Once the upgrade process is completed, reboot your system to use the latest Kernel.
Let us check the Kernel version using command:
uname -r
Sample output:
4.7.0-1.g24f30d5-default
Or,
uname -a
Sample output:
Linux linux.suse 4.7.0-1.g24f30d5-default #1 SMP PREEMPT Sun Jul 24 23:28:04 UTC 2016 (24f30d5) x86_64 x86_64 x86_64 GNU/Linux

As you see in the above screenshot, Linux Kernel 4.7 latest version has been successfully installed in openSUSE 13.2.
Start using the latest Kernel in openSUSE system.
That’s all for now. If you find this tutorial useful, please share it on your social networks and support OSTechNix.
Cheers!



4 comments
AWESOME your post. I was looking exactly what you told. Your article is very well explained and illustrated. Is impossible to make a mistake following your steps.
Thank you !!
Thank you. keep visiting and recommend this site to your family, friends and colleagues.
Hi, thanks for helping. I have a question: Is there anyway to select kernel version to install?
I don’t think so. It will just install the latest available Kernel version from the openSUSE Kernel HEAD repository.