Updating kernel with yum

10-Sep-2019 16:11

Visit Stack Exchange yum check-update | grep kernel kernel.x86_64 2.6.18-164.2.1.el5 rhel-x86_64-server-5 kernel-devel.x86_64 2.6.18-164.2.1.el5 rhel-x86_64-server-5 kernel-headers.x86_64 2.6.18-164.2.1.el5 rhel-x86_64-server-5 One thing to try would be to freeze your redhat-release level, I'm not sure if this would prevent you from moving to a kernel newer than 2.6.18-128.8.1.el5, but it would prevent your release from being updated to 5.4 How can I keep the RHEL version static (e.g.

Then, in my Cent OS 7.4 upgrade article - which was flawless, including the network piece, go figure - I wondered about the use of new, modern 4.x kernels in Cent OS. In this tutorial, I will attempt to install and use the latest mainline kernel (4.16 when I typed this). I've seen improved performance, responsiveness and battery life in newer kernels compared to the 3.x branch.

With the new kernel containing Spectre patches, it refused to load the Realtek Wireless drivers into memory. This makes the distro useless, as it has no network connection.

The Realtek Wireless woes of the disconnect kind (like a Spielberg movie) were also fixed in kernel 4.8.7 onwards, so that's another thing. You can install and enable the elrepo repo, or you can install it and keep it disabled, but then only use it selectively to install the mainline kernel, like Fedora 28 does with third-party software. Whatever is in kernel 3.10.0-693 that prevents the module from loading and/or the compilation from source is not there in the mainline kernel 4.16, and we have a liftoff!

updating kernel with yum-83updating kernel with yum-58updating kernel with yum-12

Keep this in mind when you go to download the newest kernel release.

Question : How to make an exclusion list so that anyone running the command “yum update” will not download any kernel patches ?

Running a custom-compiled Linux kernel is useful if you need to enable or disable certain kernel features that are not available in Linode-supplied or distribution-supplied kernels.

yum --enablerepo=elrepo-kernel install kernel-ml-devel kernel-ml-headers -- Finished Dependency Resolution Error: kernel-ml-headers conflicts with kernel-headers-3.10.0-693.21.1.el7.x86_64 For some reason, the headers package conflicts with the 3.10 family, but then, you have the devel package, which still provides you with the necessary build environment for the compilation. MODPOST 1 modules CC /home/roger/Downloads/rtlwifi_new-master/rtl8723be/rtl8723o LD [M] /home/roger/Downloads/rtlwifi_new-master/rtl8723be/rtl8723make[1]: Leaving directory `/usr/src/kernels/4.16.0-1.el7.elrepo.x86_64' So ... My next step was to test the system performance with kernel 4.16.

Without looking at the system monitor, the desktop (Gnome in this case) does feel a little more responsive than before.

Keep this in mind when you go to download the newest kernel release. Question : How to make an exclusion list so that anyone running the command “yum update” will not download any kernel patches ? Running a custom-compiled Linux kernel is useful if you need to enable or disable certain kernel features that are not available in Linode-supplied or distribution-supplied kernels.yum --enablerepo=elrepo-kernel install kernel-ml-devel kernel-ml-headers -- Finished Dependency Resolution Error: kernel-ml-headers conflicts with kernel-headers-3.10.0-693.21.1.el7.x86_64 For some reason, the headers package conflicts with the 3.10 family, but then, you have the devel package, which still provides you with the necessary build environment for the compilation. MODPOST 1 modules CC /home/roger/Downloads/rtlwifi_new-master/rtl8723be/rtl8723o LD [M] /home/roger/Downloads/rtlwifi_new-master/rtl8723be/rtl8723make[1]: Leaving directory `/usr/src/kernels/4.16.0-1.el7.elrepo.x86_64' So ... My next step was to test the system performance with kernel 4.16.Without looking at the system monitor, the desktop (Gnome in this case) does feel a little more responsive than before.Prior to these instructions, follow the steps outlined in our Getting Started guide.