Linux kernel 5.15 is the latest stable LTS kernel version and was released on Halloween, October 31 2021 by Linus Torvalds which brings some interesting new features, such as a new NTFS file system implementation that doesn't require you to rely on third-party software like NTFS-3G to fully manage your NTFS formatted external disk drives.
In this context, we shall look into how to install Linux kernel 5.15 LTS.
NOTE: 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.
Other improvements provides by Linux kernel 5.15:
- 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.
Steps to Install Linux Kernel 5.15 on Ubuntu 20.04
1. Perform System Update
First, make sure that all your system packages are up-to-date by running the following apt commands in the terminal:
$ sudo apt update
$ sudo apt upgrade
2. Enable the TuxInvader PPA
Now 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
3. 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.
Now we open a terminal and run commands one by one to download and install the packages:
$ cd /tmp/
$ wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.15/amd64/linux-headers-5.15.0-051500_5.15.0-051500.202110312130_all.deb
$ wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.15/amd64/linux-headers-5.15.0-051500-generic_5.15.0-051500.202110312130_amd64.deb
$ wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.15/amd64/linux-image-unsigned-5.15.0-051500-generic_5.15.0-051500.202110312130_amd64.deb
$ wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.15/amd64/linux-modules-5.15.0-051500-generic_5.15.0-051500.202110312130_amd64.deb
Next, install a new kernel using the following command below:
$ sudo dpkg -i *.deb
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
To keep the new LTS kernel up to date, simply perform the basic system update and upgrade from time to time with the below command:
$ sudo apt update && sudo apt upgrade
Also, be sure to reboot once you have updated the kernel.