Installing
-
2. Setting Up Repository
How to Install ELRepo for Enterprise Linux Based OSes
-
3. Installing
Then to Install the Latest Kernels for CentOS 7
For the Latest Stable LTS release:sudo su -c "yum --enablerepo=elrepo-kernel install kernel-lt"
And instead for the Latest Mainline:
sudo su -c "yum --enablerepo=elrepo-kernel install kernel-ml"
Especially relevant: if there is a need to have the Kernel Headers installed, you should use the Current Distributed Kernel-Headers package as that is Related to the Current Version of Glibc.
And if see a Message like “your kernel headers for kernel xxx cannot be found …”, you most likely need the kernel-lt-devel/kernel-ml-devel package, Not the kernel-lt-headers/kernel-ml-headers Package.
Contents