How To Install Kernel 4.0 On CentOS 7

Hello Linux Geeksters. As you may know, Kernel 4.0 has been released at the beginning of the week, bringing important changes.

Besides updated drivers, support for new devices and filesystem enhancements, it also brings the long awaited Life Patching feature, which permits the users to update the kernel without having to reboot the system. While this is not important for regular users, this feature is very good for Linux servers.

How To Install Kernel 4.0 On CentOS 7

In this article I will show you how to install Kernel 4.0 on CentOS 7 systems.

Because it is available via the ElRepo repository, installing Kernel 4.0 on CentOS is easy. All have to do is add the key to your system:

$ su root
# rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org

Add the repository to your system:

# yum install http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm

Enable the repository and install the kernel-ml package:

# yum --enablerepo=elrepo-kernel install kernel-ml

Reboot and choose Kernel 4.0 at startup:

# reboot

Optional, to remove kernel 4.0, do:

# yum remove kernel-ml

Liked it? Take a second to support Geekster on Patreon!
Tagged with: , , , ,
Posted in The Linux and Unix Articles!
One comment on “How To Install Kernel 4.0 On CentOS 7
  1. andreas says:

    Hey, I did install the kernel and it did work, anyway now I have a pink screen. So I can see everything but it is kinda pink-ish and hurts my eyes. Any advice?

Leave a Reply to andreas Cancel reply

Your email address will not be published. Required fields are marked *

*

Support LinuxG via Patreon
Support LinuxG.net on Patreon!
Subscribe

  

Subscribe to get the latest Linux news and how to guides directly on your e-mail!