How to Install Linux Kernel 5.17 on AlmaLinux 8 / Fedora 35

Install Linux kernel

Linus Torvalds announced the Linux Kernel 5.17 after a few weeks of development and it is available for general usage. Linux Kernel 5.17 was released with new features and support. 

This tutorial will be helpful for beginners to install Linux kernel 5.17 on AlmaLinux 8, Rocky Linux 8, and Fedora 35.

This tutorial is for educational purpose, please do not install the kernel in PRODUCTION Server.

How to Install Linux Kernel 5.17 on Alma Linux 8 / Rocky Linux 8?

Step 1: Ensure the system is up to date

sudo dnf update -y

Step 2: Import the ELREPO GPG Key

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

Step 3: Install the ELREPO Repository

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

Step 4: Install Linux Kernel 5.17

sudo dnf --enablerepo=elrepo-kernel install kernel-ml kernel-ml-devel kernel-ml-headers -y

Step 5: Reboot the server and verify the new kernel version

uname -r
Install Linux kernel 5.17 on

How to Install Linux Kernel 5.17 on Fedora 35?

Step 1: Ensure the system is up to date

sudo dnf update -y

Step 2: Add the Fedora Vanilla Repository

curl -s https://repos.fedorapeople.org/repos/thl/kernel-vanilla.repo | sudo tee /etc/yum.repos.d/kernel-vanilla.repo

Step 3: Install the latest mainline kernel 5.17

sudo dnf --enablerepo=kernel-vanilla-mainline update

Step 4: Reboot the server and verify the kernel version

uname -r
Install Linux kernel 5.17 on Fedora 35

Remove the Linux Kernel 5.17 on Fedora

Boot into the Stock fedora kernel and run the below command

sudo dnf remove $(rpm -qa 'kernel*' | grep '.vanilla' )

Remove the Linux Kernel 5.17 on Rocky Linux 8 / Alma Linux 8

Set the old kernel as default kernel using grubby and boot into the old kernel and run the below command

sudo dnf remove kernel-ml*

Conclusion

From this tutorial, you have learned how to download and install Linux kernel 5.17 on Alma Linux 8.5, Rocky Linux 8.5, and Fedora 35.

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.

orange-button

Thank You for your support!!

Leave a Reply

Secured By miniOrange