Update Kernel in Ubuntu
By Vladimir Mikhalev · Solutions Architect · Docker Captain · IBM Champion
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
Create a new directory that will be needed for Ubuntu kernel update packages using the command:
mkdir /tmp/kernel
Go to the new directory using the command:
cd /tmp/kernel
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.

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
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
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
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
Now you need to install all downloaded packages using the command:
sudo dpkg -i *.deb
Specify the password for the account and press “Enter”.

We reboot the operating system using the command:
sudo reboot
Let’s check the kernel version.
Open Terminal and execute the command:
uname -r
You should see a new version of the kernel.

The Verdict
Inconvenient truths about shipping in the AI era
Container security, platform engineering, and the agentic shift — tested in production, argued without the hype. The verdict reaches your inbox the moment there's one worth sending.
Related Posts
- 1Recovering a Corrupt Exchange Database with Stellar Repair — Real-World Lab TestSysAdmin & 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.
- 2Distinctions Between Terminal, Command Line, Shell, and PromptSysAdmin & IT Pro · Learn the differences between terminal, command line, shell, and prompt in Linux. A beginner-friendly guide to essential CLI concepts and tools.
- 3Install Ubuntu Server 22.04 LTSSysAdmin & 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.
- 4Install OTRS on Ubuntu ServerSysAdmin & 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
- 1The AI Era — From Technology to Global DominationAI & MLOps · Exploring a future where AI controls all aspects of life, redefining global governance and social interactions.
- 2Future-Proofing JavaScript with ESM and CJS Compatibility TechniquesDevOps & Cloud · Master ECMAScript Modules (ESM) and CommonJS (CJS) in NPM packages with our expert guide. Learn key compatibility strategies for effective JavaScript development.
- 3Agent Sprawl: The 2026 Engineering Risk Your Auditor Hasn't Named YetOpinion & Culture · Unknown numbers of AI coding agents run in parallel — no audit trail, no isolation, no per-team measurement. By 2026 that's an audit finding.
- 4The Senior Engineer Signal: The 2026 Risk Your Velocity Metrics HideOpinion & Culture · Juniors get the biggest boost from AI; seniors trust it least. That split is your earliest read on engineering risk, and on the talent you're about to lose.