How to Install Linux Kernel 6.0 on Rocky Linux 9 / Alma Linux 9

Linux-Kernel-Logo

This tutorial will be helpful for beginners to install Linux kernel 6.0 On Rocky Linux 9 and Alma Linux 8.

Linus Torvalds announced the Linux Kernel 6.0 which is available to download for general usage with new features, improvements, better hardware support, and other new updates.

See also  How to Install Linux Kernel 6.0 on Ubuntu / Linux Mint

Install Linux Kernel 6.0 On Rocky Linux 9 / Alma Linux 9

Step 1: Before Proceeding with the installation of Kernel 6.0 update the system

sudo dnf update -y

Step 2: Import the EPEL Public Key

sudo rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org

Step 3: Install ELREPO

For Rocky Linux 9 servers / Alma Linux 9 Servers

sudo dnf install https://www.elrepo.org/elrepo-release-9.el9.elrepo.noarch.rpm -y

For Rocky Linux 8 servers / Alma Linux 8 Servers

sudo dnf install https://www.elrepo.org/elrepo-release-8.el8.elrepo.noarch.rpm -y 

Step 4: Enable the elrepo-kernel Repository

sudo dnf config-manager --set-enabled elrepo-kernel

Step 5: Install the Linux Kernel 6.0 from ELrepo

sudo dnf install kernel-ml kernel-ml-core kernel-ml-headers kernel-ml-modules kernel-ml-modules-extra

Step 6: Validate the kernel

Once installation is completed reboot the server and verify the newly installed kernel by running the below command.

uname -r
Kernel 6.0

Rollback to Default Kernel

If you noticed any issues in the new kernel you can rollback to the default kernel using the below commands

sudo dnf config-manager --set-disabled elrepo*
sudo dnf reinstall kernel*

Once kernel installation is completed, you can proceed with reboot, system will reboot into the baseos kernel.

Conclusion

From this tutorial, you have learned how to download and install Linux kernel 6.0 on Rocky Linux 9. X and AlmaLinux 8. X and 9.X

Do let us know your comments and feedback in the comments section below.

If my articles on TipsonUNIX have helped you, kindly consider buying me a coffee as a token of appreciation.

Buymeacoffee

Thank You for your support!!

Spread the love

Leave a Reply