How to enable elrepo repos in redhat clones ( alma,rocky,centos,oracle, etc... )

dos2unix

Well-Known Member
Joined
May 3, 2019
Messages
3,272
Reaction score
3,027
Credits
29,138
Disclaimer: Some of these packages can make your system unstable. They will definitely break your warranty and service agreement with your vendor. I take no responsibility for breaking your system.

I am putting this out here for people who like to "live on the edge" so to speak. I have done this on a few systems, and "usually" I don't have any problems. Having said that, I would not do this on a live production system.

Note: This is NOT the same repo as epel. They look slightly similar, but they are different.


To install ELRepo for RHEL-9:

To install ELRepo for RHEL-8:


Now given my previous warnings, why would you want to do this? Mostly so you can run newer kernels with more drivers.



You now have two types of kernel options. ML and LT.

LT = long term, and ML = mainline.

Once you've added these repos, you could do something like....

Code:
dnf install kernel-lt-6.1.106 kernel-lt-core-6.1.106 kernel-lt-headers-6.1.106 kernel-lt-modules-extra-6.1.106 kernel-lt-tools-6.1.106

This will of course install the 6.1 LT kernel on your system.
If you like living a little riskier, you can go even newer.

Code:
dnf install kernel-ml-6.10.6-1 kernel-ml-core-6.10.6 kernel-ml-headers-6.10.6 kernel-ml-modules-6.10.6 kernel-ml-modules-extra-6.10.6 kernel-ml-tools-6.10.6

.. and this will install the 6.10 ML kernel on your systems. These are the latest as of August 2024. No doubt there will be newer kernels
in the future. They are updated every 2 weeks or so.
 
Last edited:

Staff online

Members online


Top