Updating Kernel on Ubuntu | Information Technology from Valdemar

This article is written for those who were searching for a detailed and simple for the understanding guide on how to update the kernel on Ubuntu.

Open Terminal to check the version of the kernel by using the command:

uname -r

Create a directory in which you will put packages for a ubuntu kernel update by using the command:

mkdir /tmp/kernel

Go to the new directory by using the command:

cd /tmp/kernel

Now open a link http://kernel.ubuntu.com/~kernel-ppa/mainline and chose the desired version of the kernel to which you want to update to.

The article describes kernel update to version 5.2.10.

Next, you need to download the generic or low latency packages.

  • Generic packages are made for common operating system purposes.
  • Low-latency packages are made for the system used for audio and video purposes.

The article describes kernel update for common operating system purposes.

For common operating system purposes, you will need the following packages:

  • The package that contains “linux-headers” and “all” in the naming under the section that corresponds to your processor architecture.
  • The package that contains “linux-headers” and “generic” in the naming under the section that corresponds to your processor architecture.
  • The package that contains “linux-image-unsigned” and “generic” in the naming under the section that corresponds to your processor architecture.
  • The package that contains “linux-modules” and “generic” in the naming under the section that corresponds to your processor architecture.

Download the package that contains “linux-headers” and “all” in the naming under the section that corresponds to your processor architecture by using the command:

wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.2.10/linux-headers-5.2.10-050210_5.2.10-050210.201908251538_all.deb

Download the package that contains “linux-headers” and “generic” in the naming under the section that corresponds to your processor architecture by using the command:

wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.2.10/linux-headers-5.2.10-050210-generic_5.2.10-050210.201908251538_amd64.deb

Download the package that contains “linux-image-unsigned” and “generic” in the naming under the section that corresponds to your processor architecture by using the command:

wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.2.10/linux-image-unsigned-5.2.10-050210-generic_5.2.10-050210.201908251538_amd64.deb

Download the package that contains “linux-modules” and “generic” in the naming under the section that corresponds to your processor architecture by using the command:

wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.2.10/linux-modules-5.2.10-050210-generic_5.2.10-050210.201908251538_amd64.deb

Now install all downloaded packages by using the command:

sudo dpkg -i *.deb

Provide your password and press “Enter”.

Ubuntu kernel successfully updated.

Restart the operating system by using the command:

sudo reboot

Next, open Terminal to check the version of the kernel by using the command:

uname -r

You should see the newer kernel version.

Author

Hi, I’m Vladimir Mikhalev, but my friends call me Valdemar. I have a lot of experience in the design and maintenance of various information systems. On my website, you will find detailed and clear guides for setting up IT solutions. Dive into the ocean, full of positive and technology! For cooperation: callvaldemar@gmail.com

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.