Install/Update Linux Kernel 5.16 on Linux Mint 20 LTS

Linux kernel 5.16 has many new features, support, and security. The Linux 5.16 kernel release has a great new feature, FUTEX2, or futex_watv(), which aims to improve the Linux gaming experience, growing considerably with better native Linux porting for Windows games utilizing Wine.

Other improvements have seen write include improved write congestion management, task scheduler for CPU clusters sharing L2/L3 cache, amongst many other additions. More information can be found on the Linux 5.16 Kernel release changelog.

In the following tutorial, you will learn how to install the latest 5.16 Linux Kernel on Linux Mint 20.

Option 1. Install Linux Kernel 5.16 with PPA

Import TuxInvader PPA

The first option to install the Linux 5.16 kernels is to install the ppa:tuxinvader/lts-mainline by TuxInvader. This has some of the most up-to-date 5.16, and the previous 5.15 kernel builds and is often updated regularly.

The drawback is this is an untrusted PPA and not an official release by the Linux Mint or Ubuntu official teams, but given the history of the PPA, it is safe as any other reputable PPA. You should not be installing this on a sensitive or production-type system anyway.

First, install the LTS Mainline Tuxinvader PPA:

sudo add-apt-repository ppa:tuxinvader/lts-mainline -y

Once installed, update your repository list.

sudo apt update

Next, proceed to the installation of the Linux Kernel. Make sure at this point any sensitive documents are backed up just in case of anything going wrong.

Install Linux Kernel 5.16 from Tux PPA

Next, install the 5.16 generic Linux kernel drivers by executing the following command.

sudo apt-get install linux-generic-5.16 -y

Once complete, you will need to reboot your system for the new kernel to be fully activated.

reboot

Once logged back into your system, run the following command to confirm the new kernel version is running.

sudo uname -r

Example output:

5.16.0-051600-generic

Option 2. Install Linux Kernel from Ubuntu Mainline

The second option is to install the Linux Kernel is to download the .deb package from the Ubuntu mainline repository manually. The distribution is based on Ubuntu for users new to Linux and Linux Mint, so this is all compatible and works well. Still, you will need to make sure you keep the maintenance up when new updates arise by manually re-installing the new kernel packages.

First, visit the Ubuntu Mainline Kernel Repository and find the latest version, available is AMD64, ARM64, ARMHf, ppc64el, and s390x. The most common will be AMD64 for most users.

Example ONLY:

How to Install Linux Kernel 5.16 on Linux Mint 20

Next, download the required packages using the wget command.

Example (ONLY DO NOT USE CHECK FOR NEW LINK):

Required:

wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.16/amd64/linux-image-unsigned-5.16.0-051600-generic_5.16.0-051600.202201092355_amd64.deb
wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.16/amd64/linux-modules-5.16.0-051600-generic_5.16.0-051600.202201092355_amd64.deb

Optional Extras:

wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.16/amd64/linux-headers-5.16.0-051600_5.16.0-051600.202201092355_all.deb

The required packages are what they mean, and you need to download those to install the Linux Kernel. The optional extras include support for DKMS modules and can be recommended to install for Desktop users.

Next, in the folder, you downloaded the new Linux Kernel packages, give the packages executable permission using the following blanket command.

sudo chmod +x *.deb

Now begin the installation using the dpkg -i command.

sudo dpkg -i *.deb

Once complete, you will need to reboot your system for the new kernel to be fully activated.

reboot

Once logged back into your system, run the following command to confirm the kernel version is running.

sudo uname -r

Example output:

5.16.0-051600-generic

And that’s it; you have successfully installed the latest Linux Kernel 5.16.

Alternative Kernels

For those that want different options besides the PPA or manually installing, check out the following custom kernel tutorials, which often boast the latest Linux custom-built kernels.

Comments and Conclusion

In the tutorial, you have learned how to install the latest 5.16 kernel on your Linux Mint system. Note, if your system is a production server, it would be advised to use the existing kernel that ships the standard installation for the most stability.

However, for those wanting to try kernel 5.16, make sure to take backups as many jump ahead sometimes and regret the decision.



Follow LinuxCapable.com!

Like to get automatic updates? Follow us on one of our social media accounts!