Installing
-
2. Setting Up ELRepo Repository
How to Install ELRepo for Enterprise Linux Based OSes
-
3. Installing Kernel
Then to Install the Latest Mainline Linux Kernel for CentOS 9
Simply run: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-ml-devel package, Not the kernel-ml-headers Package.
Contents