How to Install Liquorix Kernel on Ubuntu 22.04 LTS

Liqourix Kernel is a free, open-source general-purpose Linux Kernel alternative to the stock kernel with Ubuntu 22.04 LTS. It features custom settings and new features and is built to provide a responsive and smooth desktop experience, especially for new hardware. Liquorix Kernel is popular amongst Linux Gaming, streaming, and ultra-low latency requirements and often boasts the latest Linux Kernels, having multiple branches to choose from the stable, edge, and development.

For users seeking to have their Ubuntu 22.04 LTS system kernel up to date and not wanting to manually install kernels or use the testing/unstable repositories, installing a third-party kernel that may be for you.

For more information on Liquorix Kernel before installing, visit the Liquorix Kernel features information page.

Liquorix Kernel only supports x86_64 processor architecture.

Liquorix Kernel does not support secure boot.

In the following tutorial, you will learn how to import the Liquorix Kernel PPA and install the latest Linux Kernel on your Ubuntu 22.04 LTS Jammy Jellyfish with the command line terminal, along with how to restore the original Ubuntu kernel.

Update Ubuntu

Before you begin, run an update on your system to ensure all packages are up-to-date to avoid any conflicts during the installation of XanMod, this is critical given you are installing a kernel.

sudo apt update && sudo apt upgrade -y

Install Required Packages

To complete the installation, you will need to install the following software packages by using the following command in your terminal.

sudo apt install software-properties-common apt-transport-https wget ca-certificates gnupg2 ubuntu-keyring -y

Import the Liquorix Kernel PPA

The first task is to import the Liquorix Kernel PPA. For Ubuntu users, this is relatively easy with using PPA’s, and this one is maintained by the same team behind the Liquorix kernel so it can be safely trusted.

In your terminal, use the following command to download the bash script.

sudo add-apt-repository ppa:damentz/liquorix -y

Next, refresh your APT repository to reflect the new addition.

sudo apt update

To verify, you can use the grep command to check the file contents.

grep liquorix /etc/apt/sources.list.d/damentz-ubuntu-liquorix-*.list

Example output:

How to Install Liquorix Kernel on Ubuntu 22.04 LTS

As above, the repositories have been successfully imported by the PPA.

Install Liquorix Kernel

Next, with the bash script downloaded and repositories now updated, you can begin the installation of the Liquorix kernel.

In your terminal, use the following command to begin the installation.

sudo apt-get install linux-image-liquorix-amd64 linux-headers-liquorix-amd64 -y

Once the chosen repository Linux kernel has been installed, you will need to reboot your system to complete the installation.


Once you have returned, verify the kernel using the following command.

cat /proc/version

Example output:

How to Install Liquorix Kernel on Ubuntu 22.04 LTS

Remember, this version number will be different in time, and the Liquorix kernel receives updates constantly.

Alternatively, install neofetch for a pretty output.

sudo apt install neofetch -y

Use the following command to print out your system specs, including the kernel.


Example output:

How to Install Liquorix Kernel on Ubuntu 22.04 LTS

How to Update/Upgrade Liqourix Kernel

To keep the Linux kernel you installed with Liquorix up to date, you will run the standard apt update and upgrade commands.

To check for updates.

sudo apt update

If an upgrade is available.

sudo apt upgrade

How to Remove (Uninstall) Liqourix Kernel

To remove Liquourix Kernel, use the following command.

sudo apt-get remove linux-image-liquorix-amd64 linux-headers-liquorix-amd64 -y

Ideally, you can remove the PPA repository as well.

sudo add-apt-repository --remove ppa:damentz/liquorix -y

Alternatively, you may need to remove the Liquorix with the following command.

Note you will need to use the exact name of the Linux image and header package. This can be found by using the following command.

dpkg --list | grep `uname -r`

Example output:

How to Install Liquorix Kernel on Ubuntu 22.04 LTS

As above, the names are highlighted in red now; remove the kernel packages using the following command, which should cover all versions of Liquorix; if not, modify the command to suit the kernel version in your output.

sudo apt-get autoremove linux-image-*.*.-*.*-liquorix-amd64 linux-headers-*.*.*-*.*-liquorix-amd64 --purge

You will receive this prompt warning.


How to Install Liquorix Kernel on Ubuntu 22.04 LTS

This warning is if you have no old existing kernel to fall back to. The tutorial case still has the current 5.11 kernel installed. If you removed and cleaned the kernels, re-install your Linux kernel.

sudo apt install linux-image-generic

Failure to do this may result in your system being unbootable.

Next, update-grub.

sudo update-grub2

Now restart your PC to finalize the removal of Liquorix.


Once you have returned to your system, verify the installation.

cat /proc/version

Example output:

How to Install Liquorix Kernel on Ubuntu 22.04 LTS

For the people that love colors, run neofetch.


Example output:

How to Install Liquorix Kernel on Ubuntu 22.04 LTS

As above, you have successfully fallen back to the existing default generic kernel.

Comments and Conclusion

In the tutorial, you have learned how to install Liquorix Kernel on Ubuntu 22.04 LTS Jammy Jellyfish. Liquorix Kernel is designed for desktop users with the latest hardware, but this can be installed on any Ubuntu desktop or server. However, it’s advised to research before upgrading, and it is ill-advised to use it on critical or production-type systems.

XanMod vs. Liquorix has been a debate for some time now, and the question of which kernel should you use? Ultimately it comes down to what your specific needs are as far as performance goes–whether those be stability or the newest features in the kernel will suit your system will be for the end-user to find out once installed.


Like to get automatic updates? Follow us on one of our social media accounts!