As it is pretty complicated to compile a new kernel, the ELRepo project provides an easy way to install a recent kernel, if you want to. Its elrepo-kernel channel actually allows you to install the most recent stable kernel.
Start by installing the ELRepo repository.
Then, temporary enable the elrepo-kernel channel and install the most recent stable kernel:
# yum --enablerepo=elrepo-kernel install -y kernel-ml
After rebooting, you will be able to choose the new kernel.
If you don’t want to choose at boot, type:
# grub2-set-default 0
Source: Inspired from this great Linoxide tutorial where you can additionally learn how to compile a kernel!
In addition, Bob Cromwell provides a page about building Linux kernels.
Leave a Reply
You must be logged in to post a comment.