{{tag>centos kernel}}
====== Update kernel to 4.x/5.x mainline ======

===== Install ELRepo Repository =====
<sxh bash>
rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-3.el7.elrepo.noarch.rpm
</sxh>

==== Install the kernel ====
<sxh bash>
yum --enablerepo=elrepo-kernel install kernel-ml -y
</sxh>


Check with Grub for proper installation [[systems/grub2]]