How to Install Linux Kernel 5.16 in Rocky Linux 8 / Fedora 35

Linux Penguin

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

It contains the new system feaures are futex_waitv() which improves the Gaming performance in Native Linux , for the compete changelog refer the link

This tutorial will be helpful for beginners to install Linux kernel 5.16 in Rocky Linux 8 , AlmaLinux 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.16 in Rocky Linux 8 ?

Step 1: Make sure system is up to date

sudo dnf update && sudo dnf upgrade

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.16

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

Step 5: Reboot the server and verify the kernel version

reboot 
uname -r
Install Kernel 5.16 in Rocky Linux 8

How to Install Linux Kernel 5.16 in Fedora 35 ?

Step 1: Make sure the system is up to date

sudo dnf update && sudo dnf upgrade

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

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

Step 4: Reboot the server and verify the kernel version

uname -r
Install Linux kernel 5.16 in Fedora 35

Conclusion

From this tutorial, you have learned how to download and install Linux kernel 5.16 in Rocky Linux 8 and Fedora 35.

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

One Response

  1. Rob January 17, 2022

Leave a Reply

Secured By miniOrange