Tutorial To Upgrade The Linux Kernel On CentOS

Insight: Tutorial To Upgrade The Linux Kernel On CentOS

Update: Linux Kernel 5.10 LTS Released

In this tutorial, We will show you how to upgrade the CentOSkernel to the latest version.

Tutorial To Upgrade The Linux Kernel On CentOS

 

At first, add the GPG key with the following commands:

rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org

Now run the following command to add the repository by installing an RPM package:

dnf install https://www.elrepo.org/elrepo-release-8.0-2.el8.elrepo.noarch.rpm

Check the status of the repository whether it was successfully added or not.

dnf repolist

Now install the new kernel in CentOS:

dnf --enablerepo=elrepo-kernel install kernel-ml

Now, reboot your system and run the following command to check the updated kernel:

uname -msr

Well, you can use this steps to install latest kernel CentOS 8, RHEL 8 or in Oracle Linux 8.

READ More Relevant Stuff:  5 Linux Skills to be An Effective Cybersecurity Professional

Leave a Reply

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