Install Liquorix Kernel on Linux Mint 20.0/20.1/20.2/20.3

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

In the following tutorial, you will learn how to import the Liquorix Kernel PPA and install the latest Linux Kernel on Linux Mint 20.

Advertisement

Prerequisites

Update Operating System

Update your Linux Mint 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@linuxmint ~]$ sudo whoami
root

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

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

su

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

Example:

Install Liquorix Kernel on Linux Mint 20.0/20.1/20.2/20.3

Import the Liquorix Kernel PPA

The first task is to import the Liquorix Kernel PPA. For Linux Mint 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-liquorix-focal.list

Example output:

deb http://ppa.launchpad.net/damentz/liquorix/ubuntu focal main
# deb-src http://ppa.launchpad.net/damentz/liquorix/ubuntu focal main

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

Advertisement

Install Liquorix Kernel on Linux Mint

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:

Install Liquorix Kernel on Linux Mint 20.0/20.1/20.2/20.3

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.

hostnamectl

Or you can use the cat version command.

cat /proc/version

Example output:

Install Liquorix Kernel on Linux Mint 20.0/20.1/20.2/20.3

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

Advertisement

How to Update Liquorix 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) Liquorix Kernel

To remove Liquourix Kernel, use the following command.

WARNING – If you did not remove the default Linux Mint kernel, you could proceed below. If not, re-install the default Kernel. By default, you should have the existing kernel on your system.

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

Example output:

How to Install Liquorix Kernel on Linux Mint 20

Type Y, then press the ENTER KEY to proceed.

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

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 additional packages with the following.

First, 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 command.

dpkg --list | grep `uname -r`

Example output:

How to Install Liquorix Kernel on Linux Mint 20

As above, the names are highlighted in red now remove the kernel packages.

Example only (DO NOT COPY, WILL NOT WORK):

sudo apt-get autoremove linux-image-5.15.0-14.1-liquorix-amd64 linux-headers-5.15.0-14.1-liquorix-amd64

Example output:

Install Liquorix Kernel on Linux Mint 20.0/20.1/20.2/20.3

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

During the removal, you will receive this prompt warning.

Example:

Install Liquorix Kernel on Linux Mint 20.0/20.1/20.2/20.3

Press the ENTER KEY on <Yes> to proceed and complete the removal.

This informs you that you are attempting to remove the Liquorix kernel while using it. This is telling you to make sure you have an alternative kernel installed, or the system will fail to boot.

Next, run the following command to re-install the generic Linux Kernel that comes with Linux Mint; you should do this regardless worse case, it will skip as it is already installed.

sudo apt install linux-image-generic

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

Next, update-grub.

sudo update-grub && sudo update-initramfs -u

Now restart your PC to finalize the removal of Liquorix.

sudo reboot

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

hostnamectl

Or you can use the cat version command.

cat /proc/version

Example output:

Install Liquorix Kernel on Linux Mint 20.0/20.1/20.2/20.3

As above, you have successfully fallen back to the existing default Linux Mint Kernel.

Comments and Conclusion

In the tutorial, you have learned how to install Liquorix Kernel on Linux Mint 20. Liquorix Kernel is designed for desktop users with the latest hardware, but this can be installed on any Linux Mint desktop or headless system. 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.

Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
adplus-dvertising
0
Would love your thoughts, please comment.x
()
x