Check and update the Ubuntu Kernel version of Ubuntu 20.04 – Linux Hint

    The Linux kernel is the heart of the Linux operating system. She is responsible for the interaction between the hardware and the software of this operating system. As with the constant updates of the Linux operating system and applications, new versions of the Linux kernel are also being released. It is recommended to update the kernel version with the latest features, better stability and security patches.

    In this article we explain three ways to upgrade the Linux kernel to the latest available version. We explained the procedure on Ubuntu 20.04 LTS, which comes with kernel version 5.4. A more or less similar procedure can be performed with earlier versions of Ubuntu OS.

    Check the current kernel version

    It is best to check the current version before updating the kernel version. This will help you decide what the new version of your kernel is. Open the command line using the key combination Ctrl+Alt+T.

    Now check the current kernel version directly from the command line, as shown below

    You can also check the kernel version with the following command

    If you use one of the above commands, you will be notified of the kernel version of your operating system. From the result above you can see that the kernel version 5.4.0-28 used in this article is generic.

    In the following methods, I will show you how to update the kernel version from the command line.

    Procedure 1: Ubuntu CoreTeam website

    The following method allows you to update the kernel version by downloading and installing the latest version from the Ubuntu kernel team website.

    For this method, perform the following steps to update the kernel version:

    1. Open the Ubuntu kernel command page to download the latest Linux kernel for Ubuntu. Select the version you want to download and then download the .deb files for the generic version.
    • linux headers-all-deb
    • linux-mage-unsigned-amd64.deb
    • Linux Modules–amd64.deb

    We want to update our kernel to the latest stable 5.6.10 release. So we downloaded the following .deb files

    linux headers-5.6.10-050610_5.6.10-050610.202005052301_all.deb


    linux modules-5.6.10-050610-generation_5.6.10-050610.202005052301_amd64.deb

    You can also use the wget command to download the following packages for kernel version 5.6.10

    $ wget
    $ wget unsigned-
    $ wget

    1. When all packages have been downloaded, you can check them with the command ls -l: .
    2. The next step is the installation of all downloaded packages. If you have downloaded files from a folder other than Home, first browse to that folder using the CD command :

    Now install all downloaded .deb files. You can do this with the following command:

    Please wait until the installation of all packages has been completed.

      1. Reboot the system. After the reboot is complete, log in and check the kernel version with the uname command as follows:

    The output shows the updated kernel version 5.6.10. .

    Method 2: Use of the bash-script

    In the following method we will use the bash-script to install a new kernel version. Follow these simple steps:

    1. Download the bash-script with the following command:

    $ wget

    2. Copy the script to /usr/local/bin/. You can do this with the following command:

    $ install sudo /usr/local/bin/

    3. You can now update the kernel version as follows:

    $ -i

    It searches for and reports the last kernel version number, e.g. v5.6.10, in the next version. If you want to install this version, press B and the installation will start.

    Restart the system after installation. Then check the kernel version with the uname command as follows:

    The output shows the updated version of the kernel

    Method No 3: Upgrading the Ubuntu kernel version via GUI

    In the following method we will discuss the GUI method for updating the Linux kernel. To install the latest version of the kernel, we use the graphical Mainline tool. Here are the simple steps:

    1. The main tool is not available in the official Ubuntu repositories, so we need to manually add the PPA to our system source.list file. Use the apt-add repository command:

    $ sudo apt-add-repository -y ppa:cappelikan/ppa

    2. After adding the main repository, the next step is to update the system repository index:

    3. Then install the Mainline tool with this command :

    $ sudo apt Installation on the main line

    The system can ask you for confirmation by giving you a J/N option. Press Y to continue, and the Main Tool will be installed on your system.

    4. Start the main tool of the Ubuntu search bar as follows:

    5. When you run the main tool, you will see the following installation window with a list of new and available kernel versions. You can install a new version by selecting the version from the list and clicking the Install button on the right.

    After this step, the following authentication dialog will be displayed. Enter the superuser password and click Authenticate.

    The installation of the selected kernel version starts and you can see the installation process in a new window.

    Now reboot the system and check the new kernel version:

    In this article we have explained three different ways to upgrade a kernel version to Ubuntu 20.04 LTS. After a kernel upgrade, problems can sometimes occur at boot time. In this case, you must return to the old kernel at boot time by pressing the Shift key and selecting the old version from the list.linuxhint,update ubuntu 18.04 command line,ubuntu 20.04 upgrade

    Recent Articles

    Unravel the XDR Noise and Recognize a Proactive Approach

      Cybersecurity professionals know this drill nicely all too nicely. Making sense of heaps of info and noise to entry what actually issues. XDR (Prolonged Detection & Response) has been a technical acronym thrown round within the cybersecurity business with many notations and...

    PLATYPUS: Hackers Can Obtain Crypto Keys by Monitoring CPU Power Consumption

      Researchers have disclosed the small print of a brand new side-channel assault technique that can be utilized to acquire delicate data from a system...

    The Container configurations in Amazon ECS

      Revealed: November 7, 2020 | Modified: November 7, 2020 | Zero views A fast put up on superior container configurations in Amazon ECS. ECS container superior...

    Antivirus Testing – VIPRE for your Home and Business

      Individuals typically marvel, “What’s one of the best antivirus?” A number of distributors will declare that their product is one of the best within...

    Antivirus Testing – VIPRE for your Home and Business

      Individuals typically marvel, “What’s one of the best antivirus?” A number of distributors will declare that their product is one of the best within...

    Related Stories