727 words
4 minutes

Update Kernel in Ubuntu

Cover image for Update Kernel in Ubuntu

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:

Terminal window
uname -r

Update Kernel in Ubuntu - Step 1

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

Terminal window
mkdir /tmp/kernel

Update Kernel in Ubuntu - Step 2

Go to the new directory using the command:

Terminal window
cd /tmp/kernel

Update Kernel in Ubuntu - Step 3

Next, visit the Ubuntu mainline kernel archive and choose the version you wish to update your kernel to.

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.

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 - Step 4

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:

Terminal window
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 - Step 5

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:

Terminal window
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 - Step 6

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:

Terminal window
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 - Step 7

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:

Terminal window
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 - Step 8

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

Terminal window
sudo dpkg -i *.deb

Update Kernel in Ubuntu - Step 9

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

Update Kernel in Ubuntu - Step 10

We reboot the operating system using the command:

Terminal window
sudo reboot

Update Kernel in Ubuntu - Step 11

Let’s check the kernel version.

Open Terminal and execute the command:

Terminal window
uname -r

Update Kernel in Ubuntu - Step 12

You should see a new version of the kernel.

Update Kernel in Ubuntu - Step 13


Patreon Exclusives#

🏆 Join my Patreon and dive deep into the world of Docker and DevOps with exclusive content tailored for IT enthusiasts and professionals. As your experienced guide, I offer a range of membership tiers designed to suit everyone from newbies to IT experts.


Tools I Personally Trust#

If you’re building things, breaking things, and trying to keep your digital life a little saner (like every good DevOps engineer), these are two tools that I trust and use daily:

🛸 Proton VPN - My shield on the internet. It keeps your Wi-Fi secure, hides your IP, and blocks those creepy trackers. Even if I’m hacking away on free café Wi-Fi, I know I’m safe.

🔑 Proton Pass - My password vault. Proper on-device encryption, 2FA codes, logins, secrets - all mine and only mine. No compromises.

These are partner links - you won’t pay a cent more, but you’ll be supporting DevOps Compass. Thanks a ton - it helps me keep this compass pointing the right way 💜


Gear & Books I Trust#

📕 Essential DevOps books
🖥️ Studio streaming & recording kit
📡 Streaming starter kit


Social Channels#

🎬 YouTube
🐦 X (Twitter)
🎨 Instagram
🐘 Mastodon
🧵 Threads
🎸 Facebook
🦋 Bluesky
🎥 TikTok
💻 LinkedIn
📣 daily.dev Squad
✈️ Telegram
🐈 GitHub


Community of IT Experts#

👾 Discord


Refill My Coffee Supplies#

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

🌟 Bitcoin (BTC): bc1q2fq0k2lvdythdrj4ep20metjwnjuf7wccpckxc
🔹 Ethereum (ETH): 0x76C936F9366Fad39769CA5285b0Af1d975adacB8
🪙 Binance Coin (BNB): bnb1xnn6gg63lr2dgufngfr0lkq39kz8qltjt2v2g6
💠 Litecoin (LTC): LMGrhx8Jsx73h1pWY9FE8GB46nBytjvz8g


Is this content AI-generated?

No. Every article on this blog is written by me personally, drawing on decades of hands-on IT experience and a genuine passion for technology.

I use AI tools exclusively to help polish grammar and ensure my technical guidance is as clear as possible. However, the core ideas, strategic insights, and step-by-step solutions are entirely my own, born from real-world work.

Because of this human-and-AI partnership, some detection tools might flag this content. You can be confident, though, that the expertise is authentic. My goal is to share road-tested knowledge you can trust.

Update Kernel in Ubuntu
https://www.heyvaldemar.com/update-kernel-in-ubuntu/
Author
Vladimir Mikhalev
Published at
2019-08-28
License
CC BY-NC-SA 4.0