Installing the Linux Kernel 5.19 in Ubuntu

Installing the Linux Kernel 5.19 in Ubuntu

Hi everyone,

The Linux Kernel 5.19 was released last week and can be installed in our Ubuntu system with the help of the Ubuntu Mainline Kernel Installer. We can install this Kernel version really simple in just a few clicks and we will see those steps below.

Installing the Linux Kernel 5.19

1. Launch Ubuntu Mainline Kernel Installer (Check the above link to install this tool if you do not have it installed):

Upgrading to the latest Linux Kernel with Mainline - Opening Mainline

2. Wait for it to load. You should be seeing the Linux Kernel 5.19:

1 - Selecting the Linux Kernel 5.19 in Ubuntu Mainline Kernel Installer

3. Select it and press the Install button:

6 - Clicking the Install Button to install the Linux Kernel 5.19 in Ubuntu Mainline Kernel Installer

4. The installation will begin:

2 - Starting to install the Linux Kernel 5.19

5. When requested, enter your password to allow it to install the kernel:

3 - Password to install the Linux Kernel 5.19

6. Installation should complete normally.

4 - Installation of the Linux Kernel 5.19 finished

At this step, you have now installed the stable Linux Kernel version 5.19. However, it is possible that if you have one of the release candidate versions installed, that your system may still boot using it instead of the stable 5.19 version. For this, you’ll need to select the stable 5.19 version in the GRUB menu when starting up your PC. Then, you can remove the preview/development version. This will make the 5.19 be the default kernel to use the next time we start our PC.

Removing preview versions of the Linux Kernel 5.19

1. First, we will reboot our machine and select the final Linux Kernel 5.19 from the GRUB Advanced Options:

GRUB - Selecting the Linux Kernel 5.19

2. Once we boot back to our machine, launch again the Ubuntu Mainline Kernel Installer:

Upgrading to the latest Linux Kernel with Mainline - Opening Mainline

3. Select the previous Linux Kernel 5.19 installed in your system:

7 - Selecting the previous Linux Kernel 5.19

4. Click the uninstall button:

8 - Clicking the Uninstall Button to uninstall the previous Linux Kernel 5.19

5. Uninstallation will begin:

9 - Uninstallation of the previous Linux Kernel 5.19 started

6. Enter your administrator password to allow the tool to remove the old kernel:

3 - Password to install the Linux Kernel 5.19

7. The uninstall process should complete successfully:

10 - Uninstallation of the previous Linux Kernel 5.19 completed

8. We should no longer have the old kernel listed as installed:

11 - Previous Linux Kernel 5.19 uninstalled

That’s it! We have just installed the stable 5.19 Linux Kernel and removed any previous version we may have had installed in our machine.