You Can Now Install Linux Kernel 6.7 on Ubuntu, Here’s How

Linux 6.7 Ubuntu

Linux 6.7 is now the latest stable kernel and Ubuntu users can now install it on their machines via Canonical’s Ubuntu Mainline Kernel PPA archive. Here’s a quick tutorial on how to achieve that using the GUI or the command line.

Linux kernel 6.7 was released on January 7th, 2024, and it introduces new features like the bcachefs file system implementation, support for NVIDIA’s GSP firmware, many improvements to the Btrfs file system, as well as numerous new and updated drivers for better hardware support.

And now, if you need hardware support that’s available in Linux kernel 6.7, or you just want to run the latest kernel version, you can install it on your Ubuntu machine from the official Ubuntu Mainline Kernel Archive. Packages are currently available for amd64 (x86_64), ARMhf, PowerPC 64-bit Little Endian (ppc64el), and IBM System z (s390x) architectures.

However, I must warn you that these kernels are produced with no warranty by the Ubuntu Kernel Team. They will NOT offer support for these kernels in case you have issues, and they will NOT be held responsible for any damages these kernels may cause as a result of improper installation or use. Also, you should be aware that these kernels aren’t signed, so you’ll need to disable Secure Boot to install them.

The easiest way to install Linux kernel 6.7 on your Ubuntu computer is by using a graphical tool called Mainline Kernels, which you can install from this PPA by running the commands below in the Terminal app. Open the Terminal app and run the following commands to install the Mainline Kernels tool:

sudo add-apt-repository ppa:cappelikan/ppa
sudo apt update && sudo apt full-upgrade
sudo apt install -y mainline

Once the Mainline Kernels tool has been installed, you can open it from the applications menu of your Ubuntu system. The tool will quickly check for new kernel versions from Canonical’s Ubuntu Mainline Kernel PPA archive and you should see Linux kernel 6.7.1 at the top, as that is the latest available version, at the moment of writing.

Click the “Linux kernel 6.7.1” entry on the list and then click on the big “Install” button on the right to install Linux kernel 6.7 on your Ubuntu machine. Wait for the installation to complete and then reboot your computer.

That’s it, you’re now running Linux kernel 6.7 on your Ubuntu machine. I’ve tested this method against an Ubuntu 23.10 (Mantic Minotaur) installation and everything worked like a charm.

The advantage of using this method is that you will receive new kernel versions (e.g. Linux 6.7.2, 6.7.3, etc.) when they are released upstream. Even better, the Mainline Kernels tool can inform you of new Linux kernel versions if you enable the feature in the tool’s notifications settings.

The second method is recommended for experienced users who know what they’re doing and don’t want to use the Mainline Kernels tool from the first method above. This method can also be used as a fallback in case the Mainline Kernels tool doesn’t pick up the latest kernels from the Ubuntu Mainline Kernel PPA archive.

This method implies that you will have to manually download and install the kernel packages for your specific architecture from the official Ubuntu mainline kernel PPA archive for Linux kernel 6.7 and then install them manually on your system via the command line.

As an example, if you want to install Linux kernel 6.7 on a 64-bit (amd64) system, you need to download the following packages from the Ubuntu Mainline Kernel PPA archive. Create a folder in your Home directory and download the packages there.

  amd64/linux-headers-6.7.1-060701-generic_6.7.1-060701.202401201133_amd64.deb
  amd64/linux-headers-6.7.1-060701_6.7.1-060701.202401201133_all.deb
  amd64/linux-image-unsigned-6.7.1-060701-generic_6.7.1-060701.202401201133_amd64.deb
  amd64/linux-modules-6.7.1-060701-generic_6.7.1-060701.202401201133_amd64.deb

Once you have downloaded all the kernel packages in the respective folder, you can install them all at once by running the sudo dpkg -i *.deb command in the Terminal app or from a virtual terminal, assuming you have first navigated to the folder where the kernel packages have been downloaded.

When the installation is complete, reboot your system.

If you experience any issues with Linux kernel 6.7 and you want to go back to Ubuntu’s default kernel or another kernel that’s installed on your system, press the Esc key when your computer boots to view the boot menu, then access the “Advanced options” boot entry and select a different kernel version from the list of available kernels.

Last updated 1 month ago

Buy Me a Coffee at ko-fi.com