431 words
2 min read

Update Kernel in Ubuntu

By · Solutions Architect · Docker Captain · IBM Champion
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


Vladimir Mikhalev

Docker Captain  ·  IBM Champion  ·  AWS Community Builder

The Verdict — production-tested analysis on YouTube.

Related Posts

Same category
  1. 1
    Recovering a Corrupt Exchange Database with Stellar Repair — Real-World Lab Test
    SysAdmin & IT Pro · We deliberately broke an Exchange 2019 server to see if Stellar Repair for Exchange could recover a dirty-shutdown EDB file. Step-by-step recovery process, lab setup, and lessons learned.
  2. 2
    Distinctions Between Terminal, Command Line, Shell, and Prompt
    SysAdmin & IT Pro · Learn the differences between terminal, command line, shell, and prompt in Linux. A beginner-friendly guide to essential CLI concepts and tools.
  3. 3
    Install Ubuntu Server 22.04 LTS
    SysAdmin & IT Pro · Step-by-step guide to install Ubuntu Server 22.04 LTS. Covers language, disk setup, OpenSSH, user creation, and system configuration for beginners.
  4. 4
    Install OTRS on Ubuntu Server
    SysAdmin & IT Pro · Comprehensive guide to installing OTRS Community Edition on Ubuntu Server. Learn to configure PostgreSQL, Apache, SSL with Let's Encrypt, and launch OTRS securely.

Random Posts

Random
  1. 1
    GitOps on AWS — Real-World DevOps Pipeline with Argo CD, Terraform & EKS
    DevOps & Cloud · Learn how to build a production-grade GitOps pipeline on AWS using EKS, Argo CD, Terraform, Vault, and GitHub Actions. Real-world architecture. No buzzwords — just systems that scale.
  2. 2
    Install Bitwarden on Ubuntu Server 22.04 LTS
    Self-Hosting · Learn how to install Bitwarden on Ubuntu Server 22.04 LTS using Docker. Step-by-step instructions for setup, SSL with Let's Encrypt, and secure password storage.
  3. 3
    Disable Server Manager Autostart in Windows Server 2012 R2
    SysAdmin & IT Pro · Learn how to disable Server Manager autostart in Windows Server 2012 R2 using Server Manager settings, Task Scheduler, CMD, and PowerShell.
  4. 4
    Install Exchange Server 2016 on Windows Server 2012 R2
    SysAdmin & IT Pro · Step-by-step guide to install Exchange Server 2016 on Windows Server 2012 R2, including prerequisites, AD setup, and post-installation configuration.
Update Kernel in Ubuntu
https://heyvaldemar.com/update-kernel-in-ubuntu/
Author
Vladimir Mikhalev
Published
2019-08-28
License
CC BY-NC-SA 4.0