How to upgrade Linux Kernel in Ubuntu and Linux Mint

Linux Kernel is the communication interface between the computer's hardware and the operating system

A kernel is the most essential piece of code to any computer that is using an operating system. It links as a communication interface between the hardware and the operating system. In Ubuntu, you can find the kernel file stored in your “/boot” with the name “vmlinuz-version”.

Reasons to Upgrade Linux Kernel

There are several reasons for why you need to upgrade your kernel but the following reasons are considered the most important:

  • Keep your system safe, by protecting yourself from emerging new security threats.
  • Improve system stability, by solving various issues that can cause your system to crash and behave abnormally.
  • Update system drivers, as the newly upgraded kernel, contains the latest drivers for your machine.
  • Enjoy new kernel features that are being added.

So, if you need to get the most out of your system then it’s important to upgrade your kernel and keep your system up-to-date.

Upgrading Linux Kernel in Ubuntu and its derivatives

In this article, we are going to discuss two different methods to upgrade the Ubuntu Linux Kernel. The below guide is tested to be working in Ubuntu but should also work on Linux Mint without any issues.

The first method is a lengthy command-line process for the geeks and the second method describes the easiest way by using Ukuu, a GUI method for newbies to Linux.

First Method: Manual Kernel Upgrading (Terminal Way)

Step 1. Check the installed kernel version on your machine using the following command.
uname -sr

Uname Command
Uname Command

Step 2. To Upgrade your kernel, go to and choose the latest stable version and download it. (At the time of writing this tutorial, v4.20.8 was the latest stable version)

Kernel Versions Directory
Kernel Versions Directory

Step 3. Check if your system is 32 or 64 bit.

uname -i


This means your system is 64 bit or in other words, it is amd64.

Step 4. From your terminal, download the kernel depending on your system is it 32 or 64 bit. So in our case, we will download the amd64 using the following commands.


Download Linux Kernel using Wget
Download Linux Kernel using Wget

Step 5. Now install the downloaded packages.

sudo dpkg -i *.deb

Linux Kernel Update in Progress
Linux Kernel Update in Progress

Step 6. After successful installation, reboot your machine.


Step 7. After rebooting your system, open your terminal and verify that the new kernel is installed successfully.

uname -sr

Verify Linux Kernel Installation
Verify Linux Kernel Installation

Downgrading Linux Kernel due to problematic upgrade

In case you have faced any problems during kernel upgrading, there is no need to panic we are here to help you revert back to your oldest kernel. So, you can use the next few steps to downgrade system kernel.

Step 1. Reboot your system, press and hold the Shift key when you see the Ubuntu logo. This will bring you the Grub Menu screen.

Ubuntu Grub Bootloader
Ubuntu Grub Bootloader

Step 2. Choose the second option which is “Advanced options for Ubuntu” then press the Enter button. You will see the current Linux kernels found.

Ubuntu Grub Bootloader - Advance Options
Ubuntu Grub Bootloader – Advance Options

Step 3. Move with arrows up/down and select the kernel you need to downgrade to it. Then press the Enter button. Now the system will reboot using your oldest kernel.

Step 4. After rebooting, open the Terminal and use the next command to completely remove the latest kernel packages from the system.

sudo apt remove linux-image-unsigned-4.20.8-042008-generic linux-headers-4.20.8-042008-generic

Remove Old Linux Kernel Versions
Remove Linux Kernel Version

Step 5. Now reboot your system to use the oldest safe kernel.


Step 6. Finally, check that you have downgraded to the oldest kernel.

uname -sr

Verify Old Linux Kernel
Verify Old Linux Kernel

Second Method: By using Ukuu Kernel Upgrade Utility (Easy way)

In this method, we are going to use the Ukuu tool to upgrade the Ubuntu kernel. Ukuu is a short version of “Ubuntu Kernel Upgrade Utility”. Ukuu is a simple yet powerful tool that can be used on Ubuntu systems to install and upgrade the kernel. Ukuu can be used to remove old kernels after installing new ones.

Also, it can send you a notification when there is a new kernel update is available. Ukuu can be used on both Desktop and Server Ubuntu versions. Next, we will show you how to use Ukuu to upgrade your kernel.

Step 1. Open your Terminal and add the PPA for Ukuu to the repository using the following command.

sudo apt-add-repository -y ppa:teejee2008/ppa


Step 2. Update your system.

sudo apt-get update

Step 3. Install Ukuu using the following command.

sudo apt-get install ukuu

Step 4. Run the following command to open Ukuu tool.

sudo ukuu-gtk

Ukuu interface should be something like this:

Ukuu User Interface
Ukuu User Interface

As you can see, Ukuu lists all the available kernel releases that can be downloaded. Also, it shows you a little hint about the currently installed kernel and the last available one that can be downloaded.

Step 5. Now to upgrade your kernel, all you have to do is that just select the kernel and press Install.

Select Kernel
Select Kernel

Ukuu will handle all the manual steps that we have mentioned in the above section. So it will download the best kernel version that is the best fit for your system architecture and will install it automatically.

Step 6. Just enjoy applying the kernel without the need to worry about anything.


Step 7. This message will appear after installing the kernel.

Upgrade Complete
Upgrade Complete

Step 8. Reboot your system to use the new kernel.


Step 9. After rebooting, check the installed kernel version.

uname -sr

Verify Kernel Installation
Verify Kernel Installation

Finally, be careful while applying the previously mentioned commands. And in case you faced any issues just leave a comment and we will be glad to help you fix it.

Hend Adel
Hi! I'm Hend Adel, a freelancer technical geek with successful experience in Database, Linux and many other IT fields. I help to build solutions to suit business needs and creating streamlined processes. I love Linux and I'm here to share my skills via FOSS Linux! Thanks for reading my article.


  1. Hi,
    I wished to upgrade my Linux Mint kernel 19.3 but am not an IT geek. I just followed your steps , copied and paste the commands to the terminal, enter, enter, rebooted my pc, checked the version and yes, it was updated to the latest one I chose.

    Thank you very much.


  2. Steps 1 & 2 proceeded as expected, but when I tried step 3 to run the install I received the message “Unable to locate package ukuu”.


Please enter your comment!
Please enter your name here




How to setup FTP Server on CentOS

You are allowed to use any one of the FTP servers as you like. However, in this tutorial, we will be installing and using vsftpd, short for Very Secure FTP Daemon. It is a fast, stable, and secure FTP server that will help you transfer files to and from a remote system in a jiffy.

CentOS Vs. Ubuntu Server : Everything You Need to Know

Choosing the perfect Linux distribution to set up your server can be confusing since Linux provides a limitless number of options. The main reason behind these many distributions is because Linux is an opensource platform. Anybody with the required skills can contribute to the development or build and release their distribution. Currently, there are more than 600 Linux Desktop and Server distributions in the market.

Top 10 Reasons to use Xfce as your Desktop Environment

There are many choices for desktop environments for Linux based operating systems. Mainly, you can install any DE of your choice on most of the Linux based distributions, even if they are not offered as a package officially. In our recent articles, we discussed the best of KDE and Cinnamon. In this article, we wish to present to you the top reasons why you should consider Xfce as your desktop environment.

The 10 Best Linux Network Monitoring Tools

Having total control over your network is essential to prevent programs from overusing your network resources and slowing down the overall performance. This is why you should install a network monitoring tool on your system, giving you a visual overview of everything that's happening on your network. Networking Tools are like swiss-knife for the system administrators for troubleshooting system issues.

How to install CouchPotato on Ubuntu

Downloading movies and copying them over to your home server can get frustrating, especially if you are doing it daily! What if you have an option to download videos automatically, quickly, and above all with excellent quality. CouchPotato allows you to download movies easily once they are available and released automatically.

Top 20 Rsync Examples in Linux

The Rsync (remote sync) command is a Linux/Unix utility used to synchronize and copy files and directories either locally or remotely. Most Linux geeks use Rsync to mirror, backup or migrate data across folders, across disks and networks. One notable feature with the Rsync command is that it uses the "delta transfer algorithm."


Linux is growing faster than ever. As per the latest report, there is a drop in the Windows 10 market share for the first time, and Linux's market share has improved to 2.87% this month. Most of the features in the list were rolled out in the Pop OS 20.04. Let's a detailed look into the new features, how to upgrade, and a ride through video.
Elementary OS 5.1 Hera has received a point release with a handful of new features and bug fixes, and we will be reviewing the significant changes in this article. For those new to elementary OS, this Ubuntu-based Linux distribution uses their inhouse built Pantheon desktop environment and AppCenter.

Top 5 reasons to switch from Windows to Linux right now

Do you love Windows or Linux? Being on a Linux website, it's not hard to take a guess, but what are the strong reasons to switch to Linux? Linux is a 100% free OS. Is that reason alone enough? Let's find out! Never have there been more compelling reasons to make the switch. Here are just five great reasons for users to create that magical move from the wayward world of Windows to the lauded land of Linux.

Guide to watching Disney+ on Linux

Disney Plus or Disney+ is an on-demand entertainment streaming service in which you should see the content produced by Disney Studios, Star Wars, Marvel, Pixar, and National Geographic. The service was launched on the 12th of November 2019.

5 Best Music Players for Linux

For sure, there will be Linux users out there who cannot live without music. If you're one of those people, you would know how important it is to have a good music player installed on your computer system. In this article, we present to you the five Best Music Players for Linux, which will hopefully be able to satisfy each of our readers' needs.

Enabling GameMode on Linux for best gaming performance

GameMode is a combination of various libraries and daemons that allows all the users to improve the gaming performance on the Linux system. Developed by games publisher Feral Interactive, it improves gaming performance by requesting a group of options that will be applied temporarily to the Linux system.