How to Install Liquorix Kernel on Ubuntu 20.04

Wondering how to install Liquorix Kernel on Ubuntu 20.04 LTS?

Kernels are essentially the core component of any operating system. They are responsible for governing all kinds of interactions that occur between your system’s hardware. Like any other operating system, Linux has its own kernel. All Linux distributions make use of the Linux Kernel with some minor tweaks as per need.

While Ubuntu may possess a well-refined stock kernel, you may want to switch to a different one based on your needs. Although switching to a different kernel doesn’t feel like it changes much for the average user, it can make quite the difference for someone who requires a specific functionality from their operating system.

One of the best available Kernels right now is Liquorix, which is also considered the best alternative to the basic Linux Kernel. This is because the design caters to all-purpose desktop use, features multiple customization options, low latency, optimized desktop, and so on. 

This guide is made to help you install Liquorix Kernel on Ubuntu 20.04 LTS. We will cover the basic steps of installation, along with some additional features that will be of great help. 

With that said, let’s begin!

Requirements for the Liquorix Kernel.

Before we get to installing Liquorix Kernel on Ubuntu 20.04, it’s better to get an idea about the prerequisites for the Kernel.

First and foremost, while most Ubuntu guides are applicable to all existing versions of Ubuntu, it is recommended that you use Ubuntu 20.04 and onwards.

It is also required that you make sure that you’re on an account that has root or sudo permissions.

To check, follow these steps:

  1. First, open the Command Terminal by pressing Ctrl + Alt + T on your keyboard.
  2. Next, type the following command:
$ sudo whoami

The output for this command should resemble the image below.

whoami

After verifying whether the requirements are met, you can move on to the next step.

Step 1: Adding Necessary PPAs.

The first step of the installation is to add the required PPAs, i.e., to add the PPA of the Liquorix Kernel.

To add the required PPA repository, you will use the $ add-apt-repository command.

Follow these steps to add the Liquorix Kernel PPA:

  1. Start by opening the Command Terminal. You can achieve this by pressing Ctrl + Alt + T on your keyboard. 
  2. Next, type the following command:
$ sudo add-apt-repository ppa:damentz/liquorix -y

This should add the required PPA to the list of repositories.

sudo apt
  1. Once that’s done, type the following to refresh the list of repositories on your system.
$ sudo apt update
sudo

If you followed the steps correctly, you should have the PPA added to the list of repositories as intended. You can verify this step by typing the following in the Command Terminal:

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

If the file has text resembling the one in the image below, it means that the PPA has been added successfully. 

focal

With this, you can proceed to the next step.

Step 2: Installing the Liquorix Kernel.

With the Liquorix Kernel installed, the next step is to install the Liquorix Kernel on your system.

This step will make use of the $ apt install command.

Follow these steps to ensure that installation proceeds without any interruptions:

  1. First, open the Command Terminal by pressing Ctrl + Alt + T on your keyboard.
  2. Next, update all packages and repositories using this command.
$ sudo apt update
Install Liquorix Kernel on Ubuntu
  1. Once that’s done, type the following to install the Liquorix Kernel on your system.
$ sudo apt-get install linux-image-liquorix-amd64 linux-headers-liquorix-amd64

Now, let the installation finish.

Install Liquorix Kernel on Ubuntu

If you followed the steps in this guide correctly, then you should have Liquorix Kernel installed on your system. 

Step 3: Confirming and Verifying the Installation

After the installation, all that’s left is to apply the changes and verify them.

You can apply the changes by simply rebooting your system. This can be done manually via the GUI or by typing the following command in the Terminal:

$ sudo reboot

Once your system reboots, verifying the installation is the next step.

You can do so by typing the following in the Command Terminal:

$ hostnamectl

This should display information about your system as shown in the image below.

Install Liquorix Kernel on Ubuntu

Alternatively, you can use the $cat command to display the same output. The syntax for this command is as follows:

$ cat /proc/version
Install Liquorix Kernel on Ubuntu

Once all of this is finished, proceed to update the kernel by typing the following commands:

$ sudo apt update
Install Liquorix Kernel on Ubuntu
$ sudo apt upgrade

With the steps followed correctly, the installation should now be complete. Your operating system should be running on the Liquorix Kernel now.

Removing the Liquorix Kernel.

In case you wish to switch to the default kernel for Ubuntu, have no worries, as the process is just as, if not more, simple than, that of installation.

Removing the Liquorix Kernel also makes use of the Command Terminal.

It should be noted that you must have the original kernel present on the computer before you can remove the new one, otherwise, the uninstallation process will result in a series of warnings and errors.

Follow these steps to remove the Liquorix Kernel from the system:

  1. Start by opening the Command Terminal. You can achieve this by pressing Ctrl + Alt + T on your keyboard. 
  2. Next, type the following command:
$ sudo apt-get remove linux-image-liquorix-amd64 linux-headers-liquorix-amd64
Install Liquorix Kernel on Ubuntu

This should proceed to remove the Liquorix Kernel from your system.

 If you also wish to remove the PPA, type the following:

$ sudo add-apt-repository --remove ppa:damentz/liquorix -y
Install Liquorix Kernel on Ubuntu

This should remove the PPA from your system as well.

While updating the packages and repositories, you might encounter an error that prevents you from accessing the package service. Nevertheless, learning how to troubleshoot this package error can do wonders for you in the long run.

This concludes our guide on how to install Liquorix Kernel on Ubuntu 20.04 LTS. If you have any questions or suggestions, let us know in the comment section down below.

If this guide helped you. Please share it. 🙂

Author

Leave a Reply

Your email address will not be published. Required fields are marked *