How to Install the Latest Kernel in CentOS 7

September 11, 2019 | By the+gnu+linux+evangelist | Filed in: Tutorial.


  1. 2. Setting Up Repository

    How to Install ELRepo for Enterprise Linux Based OSes

    Instructions on Enabling ELRepo
  2. 3. Installing

    Then to Install Latest Kernels for CentOS 7
    For the Latest Stable LTS release:

    su -c "yum --enablerepo=elrepo-kernel install kernel-lt"

    And instead for the Latest Mainline:

    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.


Tags: , , ,

QuickChic Theme • Powered by WordPress