How to Install Linux Kernel 5.15 on Pop!_OS 20.04

Linux kernel 5.15 is out with many new features, support, and security. The Linux 5.15 kernel release further improves the support for AMD CPUs and GPUsIntel’s 12th Gen CPUs, and brings new features like NTFS3, KSMBD (CIFS/SMB3), and further Apple M1 support, amongst many other changes and additions.

In the following tutorial, you will learn how to install the latest 5.15 Linux Kernel on Pop!_OS 20.04 LTS.

Advertisement

Prerequisites

  • Recommended OS: Pop!_OS 20.04 or higher.
  • User account: A user account with sudo or root access.

Update Operating System

Update your Pop!_OS 20.04 operating system to make sure all existing packages are up to date:

sudo apt update && sudo apt upgrade

The tutorial will be using the sudo command and assuming you have sudo status.

To verify sudo status on your account:

sudo whoami

Example output showing sudo status:

[joshua@popos ~]$ sudo whoami
root

To set up an existing or new sudo account, visit our tutorial on adding a User to Sudoers on Pop!_OS.

To use the root account, use the following command with the root password to log in.

su

The tutorial will utilize the terminal for the installation found in Activities > Show Applications > Terminal.

Example:

How to Install Linux Kernel 5.15 on Pop!_OS 20.04

Import TuxInvader PPA

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

The drawback is this is an untrusted PPA and not an official release by the Pop!_OS 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.

Advertisement

Install Linux Kernel 5.15 on Pop!_OS

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

sudo apt-get install linux-generic-5.15

Example output:

How to Install Linux Kernel 5.15 on Pop!_OS 20.04

Type “Y,” and then press the “ENTER KEY” to proceed with the installation.

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

sudo uname -r

Example output:

5.15.5-051505-generic

Additionally, install the Neofetch package that will print out a fancy output in the terminal of your system specs.

sudo apt install neofetch -y

Next, run the neofetch printout command.

neofetch

Example output:

How to Install Linux Kernel 5.15 on Pop!_OS 20.04

Congratulations, you have installed the latest 5.15 kernel on your Pop!_OS operating system.

Advertisement

Updates for Kernel 5.15

To keep your kernel 5.15 up to date, you will use the apt update and upgrade commands to pull updates from the PPA repository just like any other package on your system.

To check for updates and upgrade.

sudo apt update && sudo apt upgrade

Remember, for any kernel updates, and you will need to reboot your system.

Comments and Conclusion

You have learned how to install the latest 5.15 kernel on your Pop!_OS 20.04 system in the tutorial.

If your system is a production server, it should be advised to use the existing kernel that ships with Pop!_OS 20.04 LTS or use the HWE version for the most stability. However, this is worth trying for those wanting to try kernel 5.15 for its new hardware support.

Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
adplus-dvertising
0
Would love your thoughts, please comment.x
()
x