How to Install Latest Kernel in CentOS 6

March 11, 2019 | By the+gnu+linux+evangelist.

Installing

  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 6
    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


QuickChic Theme • Powered by WordPress