How to Install Liquorix Kernel on Debian 11 Bullseye

Liquorix Kernel is a free, open-source general-purpose Linux Kernel alternative to the stock kernel with Debian 11 Bullseye. 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 Debian 11 Bullseye 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.

In the following tutorial, you will learn how to import the Liquorix Kernel repository and install the latest Linux Kernel on your Debian 11 Bullseye.


  • Recommended OS: Debian 11 Bullseye
  • User account: A user account with sudo or root access.
  • Required packages: curl

Update Operating System

Update your Debian operating system to make sure all existing packages are up to date:

sudo apt update && sudo apt upgrade -y

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@debian~]$ sudo whoami

To set up an existing or new sudo account, visit our tutorial on Adding a User to Sudoers on Debian.

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


The tutorial will be utilizing the terminal, and for those unfamiliar, this can be found in your show applications menu.


How to Install Liquorix Linux Kernel on Debian 11 BullseyePin

Import the Liquorix Kernel Repository

The first task is to import the Liquorix Kernel repository. For Debian users, this is relatively easy as there is a bash script that the Liquorix team created that can be downloaded and automates the import.

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

curl '' | sudo bash

If the above commands fail, the curl packaget is more than likely not installed. To fix this, use the following terminal command.

sudo apt install curl -y

Then repeat the process to download the bash script.

The command will automatically engage the bash command to engage the script and import the repository. Once complete, you should see instructions by Liquorix at the end of your terminal output.


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

grep liquorix /etc/apt/sources.list.d/liquorix.list

Example output:

deb bullseye main
deb-src bullseye main
# deb bullseye main
# deb-src bullseye main

As above, the repositories have been successfully imported. Also, by default, the mirror is commented out to avoid doubling up.

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

Example output:

How to Install Liquorix Linux Kernel on Debian 11 BullseyePin

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

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

sudo reboot

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


Or you can use the cat version command.

cat /proc/version

Example output:

How to Update Liqourix Kernel

To keep the Linux kernel you installed with Liquorix up to date, and 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.

See also
How to Install 7-Zip on Debian 11 or 10

WARNING – If you did not remove the default Debian 11 kernel, you could proceed below. If not, re-install the default Kernel. By default, you should have the existing kernel on your system. You will know if you removed it or not.

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

Example output:

This will entirely remove all traces of Liquorix Kernel’s possible and unused dependencies.

Ideally, you can remove the repository as well.

sudo rm /etc/apt/sources.list.d/liquorix.list
sudo apt update

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`

The names shown in the output are the ones you need to remove that involve the Liqourix Kernel.

sudo apt-get autoremove linux-image-5.14.0-18.1-liquorix-amd64 linux-headers-5.14.0-18.1-liquorix-amd64 --purge -y

Alternatively, this command that is shortened tends to work well mostly.

sudo apt-get autoremove linux-image-liquorix-amd64 linux-headers-liquorix-amd64 --purge -y

Warning, run the following command to make sure you have an existing Linux Kernel installed.

sudo apt install linux-image-amd64

By default, the Debian 11 Bullseye default kernel should be installed.

Example output:

linux-image-amd64 is already the newest version (5.10.70-1).

Failure to do this will result in your system being unbootable and will create a headache.

Next, update-grub.

sudo update-grub2

Now restart your PC to finalize the removal of Liquorix.

sudo reboot

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


Or you can use the cat version command.

cat /proc/version

Example output:

As above, you have successfully fallen back to the existing default Linux Kernel of Debian 11 Bullseye.

Comments and Conclusion

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

There is some debate amongst Liquorix vs. XanMod or other similar alternative kernels. Ideally, Liquorix does not push for the latest bleeding-edge kernels like XanMod but instead focuses on some of the newest kernels that are very stable and perform well, which gives users more confidence, stability, and in the end, performance compared to more unstable alternatives. This, however, is debatable, and different setups will experience other pros and cons.

Leave a Comment

Share to...