Linux kernel 5.15 is out! This is the latest stable LTS kernel version and was released on Halloween, October 31 2021 by Linus Torvalds. The kernel provides an impressive array of improvements including:
- New NTFS driver that replaces the previous one.
- Enhancements for CPU and GPUs ( Optimized C3 cache handling for AMD processors, temperature monitoring for AMD Zen3 based APUs, and support for Intel Lake Processor)
- Support for AMD RDNA2 Graphics card and Radeon ‘Cyan Skillfish’ Navi 1x APU.
- Improvements for XFS, BTRFS, and EXT4 filesystems.
- In-kernel SMB driver for file sharing.
- ARM board updates
- Support for Apple M1 chip
And so much more. In this guide, we will demonstrate how to install Linux kernel 5.15 LTS.
Step 1: Enable the TuxInvader PPA
To get started, you need to enable the TuxInvader PPA. This is a PPA that is built for LTS releases and allows users to install specific kernel versions.
The PPA provides Linux kernels 5.12.x and later versions. Source packages for the PPA are built using this container hosted on Docker hub.
To enable the TuxInvader repository, execute the command.
$ sudo add-apt-repository ppa:tuxinvader/lts-mainline
Press ‘ENTER’ when prompted to complete the addition of the repository. Once the repository is added, update the package lists to synchronize the system with the newly added repository.
$ sudo apt update
Step 2: Install Linux Kernel 5.15 LTS
From here, installing the Linux kernel 5.15 is a stringhtforward process. Simply run the command:
$ sudo apt install linux-generic-5.15 -y
The command installs a host of kernel packages , modules and Linux tools.
Once the installation is complete, reboot your Ubuntu system.
$ sudo reboot
Log in once more and verify that you are now using the new LTS Linux kernel.
$ uname -r
From the output, we can see that we are now using the newly added Linux kernel 5.15 LTS.
To keep the new LTS kernel up to date, simply perform the basic system update and upgrade from time to time as follows.
$ sudo apt update && sudo apt upgrade
Also, be sure to reboot once you have updated the kernel.
It is not recommended to install this kernel on production servers since it comes from an untrusted PPA. The safest bet is to continue using the kernel that came with your Ubuntu server.
The PPA is preferable for those who want to test out the new kernel and see how it performs in various hardware environments.
And that’s it! You have successfully managed to install the Linux kernel 5.15 on Ubuntu 20.04. We hope it offers adequate stability and support for your PC.
Karim Buzdar holds a degree in telecommunication engineering and holds several sysadmin certifications including CCNA RS, SCP, and ACE. As an IT engineer and technical author, he writes for various websites.