How To Install Linux kernel 6.0 on Ubuntu 22.04 LTS
In this tutorial, we will show you how to install Linux Kernel 6.0 on Ubuntu 22.04 LTS. For those of you who didn’t know, The Linux Kernel 6.0 is here, packed with many features. The new kernel introduced experimental support for Intel’s A750 and A770 graphics cards, using the i915 DRM kernel driver with the “force_probe” option. PCI support for LoongArch CPU architecture from China and OpenRISC architecture. The release also added an audio driver for Intel Meteor Lake, AMD Raphael, and Jadeite, V3D Direct Rendering Manager (DRM) driver for Raspberry Pi 4, and Intel Software Guard Extensions (SGX). Good news for Ubuntu users as they can now install the latest and greatest Linux 6.0 kernel series on their PCs, or on an Ubuntu-based distribution if it’s based on a supported release.
This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘
sudo‘ to the commands to get root privileges. I will show you the step-by-step installation of the Linux Kernel 6.0 on Ubuntu 22.04 (Jammy Jellyfish). You can follow the same instructions for Ubuntu 22.04 and any other Debian-based distribution like Linux Mint, Elementary OS, Pop!_OS, and more as well.
- A server running one of the following operating systems: Ubuntu 22.04, 20.04, and any other Debian-based distribution like Linux Mint.
- It’s recommended that you use a fresh OS install to prevent any potential issues.
- SSH access to the server (or just open Terminal if you’re on a desktop).
non-root sudo useror access to the
root user. We recommend acting as a
non-root sudo user, however, as you can harm your system if you’re not careful when acting as the root.
Install Linux kernel 6.0 on Ubuntu 22.04 LTS Jammy Jellyfish
Step 1. 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 sudo apt gcc make perl wget
Step 2. Installing Linux Kernel 6.0 on Ubuntu 22.04.
For the purpose of installing or upgrading to the latest kernel on Ubuntu 22.04, follow the given instructions:
- Install Linux Kernel 6.0 from the official source.
By default, Linux Kernel 6.0 is not available on Ubuntu 22.04 base repository. Now run the following command below to download the latest Linux Kernel 6.0 from the official page to your Ubuntu system:
wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v6.0/amd64/linux-image-unsigned-6.0.0-060000-generic_6.0.0-060000.202210022231_amd64.deb wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v6.0/amd64/linux-modules-6.0.0-060000-generic_6.0.0-060000.202210022231_amd64.deb wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v6.0/amd64/linux-headers-6.0.0-060000-generic_6.0.0-060000.202210022231_amd64.deb wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v6.0/amd64/linux-headers-6.0.0-060000_6.0.0-060000.202210022231_all.deb
Now install those files above using the following command below:
sudo dpkg -i *.deb
After upgrading to the Linux Kernel 6.0 on Ubuntu 22.04, reboot the system to run the new Kernel:
Once the installation completes, let’s check the Linux kernel we are having with the following command:
- Install Linux Kernel 6.0 using a third-party PPA repository.
Now we add the “cappelikan” repository to your system as it is required for the Ubuntu Main Kernel installer:
sudo add-apt-repository ppa:cappelikan/ppa
Next, update apt packages and install the kernel with the command below:
sudo apt update sudo apt install mainline
After successfully installing Ubuntu Mainline Kernel Installer, open it by searching in the “Activities” menu.
Note: If something goes wrong or you no longer want to use the newer kernel, you can always boot your Ubuntu installation with the standard kernel by pressing the Esc key repeatedly when your system starts booting to access the boot menu and select the default kernel.
Congratulations! You have successfully installed Linux Kernel. Thanks for using this tutorial for installing Linux Kernel 6.0 on Ubuntu 22.04 LTS Jammy Jellyfish system. For additional help or useful information, we recommend you check the official Linux Kernel website.