Kernel 6.1 (6.1.6) Available to Install in Ubuntu 22.04 via Mainline PPA

Last updated: January 17, 2023 — Leave a comment

For those who want to try out the latest Linux Kernel 6.1.x, the Mainline Kernel PPA finally works again.

Ubuntu developer team maintains the Mainline Kernel PPA with latest Kernel packages. It however failed to build for all the Kernel releases since v6.0.10.

After more than a month until the release of Kernel 6.1.4, the maintainers finally fixed the issue and built the kernel packages correctly for Ubuntu 22.04 +.

How to Install Kernel 6.1.x in Ubuntu 22.04

NOTE: Mainline Kernels are built for testing purpose! They are not supported and are not appropriate for production use. Use them at your own risk

Unlike normal Ubuntu PPAs, there’s no need to add the Mainline PPA into system repository. Just download the .deb packages from the repository page and install them.

1. At the moment of writing, the latest version is Kernel 6.1.6, available to download at the link below. For other versions, go to this page.

For modern 64-bit computer/laptop, select download the top 4 amd64/build packages. For arm64 devices, download the 3 of next 6 packages (either with or without 64k). There are as well the packages for armhf, ppc64el, and s390x available to download.

Or, user can run commands below one by one in terminal to download the packages (64-bit only):

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v6.1.6/amd64/linux-headers-6.1.6-060106-generic_6.1.6-060106.202301141035_amd64.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v6.1.6/amd64/linux-headers-6.1.6-060106_6.1.6-060106.202301141035_all.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v6.1.6/amd64/linux-image-unsigned-6.1.6-060106-generic_6.1.6-060106.202301141035_amd64.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v6.1.6/amd64/linux-image-unsigned-6.1.6-060106-generic_6.1.6-060106.202301141035_amd64.deb

2. After downloading the packages, install them via apt command.

If you downloaded the packages via web browser link, you may first open the Downloads folder in file manager. Then, right-click on blank area and select “Open in Terminal” first to open that folder as working directory in terminal.

Finally, run command to install all .deb packages in the folder:

sudo apt install . var jetpackLazyImagesL10n = {"loading_warning":"Images are still loading. Please cancel your print and try again."};