How To Update the Kernel in CentOS / Red Hat

Posted on by J. Mays
Reading Time: < 1 minute

Updating the kernel on Red Hat Linux or CentOS Linux is a very simple process. Most commonly you will use the following command in the case of a security vulnerability, or perhaps just to verify that you’re running the most up-to-date kernel:

yum -y update kernel

In this case, yum is the rpm-based package manager for both Red Hat and CentOS, -y, –assumeyes gives yes as an answer to any question which would be asked by running the command, update is for updating the package, and kernel is the package you’re updating!

Assuming your server needed a new kernel and was thus upgraded, reboot your server to complete the process!

Check the kernel version of your Linux / Ubuntu / CentOS server by following our tutorial.

Avatar for J. Mays

About the Author: J. Mays

As a previous contributor, JMays shares his insight with our Knowledge Base center. In our Knowledge Base, you'll be able to find how-to articles on Ubuntu, CentOS, Fedora and much more!

Latest Articles

How To Flush Your Local DNS Cache

Read Article

How To Flush Your Local DNS Cache

Read Article

Install Multiple PHP Versions Using EasyApache 4

Read Article

Onboard to Liquid Web: A Step-By-Step Guide to Migrating Your Data to a Virtual Server

Read Article

Onboard to Liquid Web: A Step-By-Step Guide to Migrating Your Data to a Virtual Server

Read Article