This article is for those looking for a detailed and clear guide on how to update kernel in Ubuntu.

Let’s check the current version of the kernel. Open Terminal and execute the command:

uname -r

Update Kernel in Ubuntu

Create a new directory that will be needed for Ubuntu kernel update packages using the command:

mkdir /tmp/kernel

Update Kernel in Ubuntu

Go to the new directory using the command:

cd /tmp/kernel

Update Kernel in Ubuntu

Now follow the link and select the required version to which you want to update the kernel.

This guide covers upgrading the kernel to version 5.2.10.

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

  • Packages “generic” are intended for operating systems used for typical tasks.
  • Packages “low latency” are intended for operating systems used to work with audio and video.

This guide covers updating the kernel of the operating system used for typical tasks.

The operating system used for typical tasks will require the following packages:

  • The package that contains “linux-headers” and “all” in the name, located in the section corresponding to your processor architecture.
  • The package that contains “linux-headers” and “generic” in the name, located in the section corresponding to your processor architecture.
  • The package that contains “linux-image-unsigned” and “generic” in the name, found in the section corresponding to your processor architecture.
  • The package that contains “linux-modules” and “generic” in the name, located in the section corresponding to your processor architecture.

Update Kernel in Ubuntu

Download the package, which contains “linux-headers” and “all” in the name, and is located in the section corresponding to your processor architecture, 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

Update Kernel in Ubuntu

Download the package, which contains “linux-headers” and “generic” in the name, and is located in the section corresponding to your processor architecture, 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

Update Kernel in Ubuntu

Download the package, which contains “linux-image-unsigned” and “generic” in the name, and is located in the section corresponding to your processor architecture, 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

Update Kernel in Ubuntu

Download the package, which contains “linux-modules” and “generic” in the name, and is located in the section corresponding to your processor architecture, 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

Update Kernel in Ubuntu

Now you need to install all downloaded packages using the command:

sudo dpkg -i *.deb

Update Kernel in Ubuntu

Specify the password for the account and press “Enter”.

Update Kernel in Ubuntu

We reboot the operating system using the command:

sudo reboot

Update Kernel in Ubuntu

Let’s check the kernel version.

Open Terminal and execute the command:

uname -r

Update Kernel in Ubuntu

You should see a new version of the kernel.

Update Kernel in Ubuntu

My Services

💼 Take a look at my service catalog and find out how we can make your technological life better. Whether it’s increasing the efficiency of your IT infrastructure, advancing your career, or expanding your technological horizons — I’m here to help you achieve your goals. From DevOps transformations to building gaming computers — let’s make your technology unparalleled!

Refill the Author’s Coffee Supplies

💖 PayPal
🏆 Patreon
💎 GitHub
🥤 BuyMeaCoffee
🍪 Ko-fi

Vladimir Mikhalev
I’m Vladimir Mikhalev, the Docker Captain, but my friends can call me Valdemar.

DevOps Community

hey 👋 If you have questions about installation or configuration, then ask me and members of our community: