Atlantic.Net Blog

How to Install Latest Linux Kernel on Ubuntu 20.04

Hitesh Jethva
by Atlantic.Net (468 posts) under Dedicated Server Hosting, Tutorials

The kernel is the core and most essential component of Linux operating systems. It provides an interface between software applications and computer hardware. It is responsible for managing I/O disks, filesystems, CPU, and processes. The kernel is responsible for managing resources as efficiently as possible. The community of kernel Developers builds and deploys patches and updates to the Linux kernel to roll out security updates, bug fixes, and new functionality. If you are using a Linux operating system, it is a good idea to update the kernel to the latest version.

In this post, we will show you how to install the latest Linux kernel on Ubuntu 20.04.


  • A server running Ubuntu 20.04 on the Atlantic.Net Cloud Platform
  • A root password configured on your server

Step 1 – Create Atlantic.Net Cloud Server

First, log in to your Atlantic.Net Cloud Server. Create a new server, choosing Ubuntu 20.04 as an operating system with at least 1GB RAM. Connect to your Cloud Server via SSH and log in using the credentials highlighted at the top of the page.

Step 2 – Update and Upgrade the System

First, check your current operating system using the following command:

lsb_release -a

You will get your operating system version in the following output:

No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 20.04.3 LTS
Release:	20.04
Codename:	focal

Next, install the required dependencies with the following command:

apt-get install gnupg2 wget -y

Next, update and upgrade all system packages to the latest version.

apt-get update -y
apt-get upgrade -y

Once all the packages are upgraded, restart your system to apply the changes:


Step 3 – Check Current Kernel Version

Next, check the currently installed kernel version with the following command:

uname -r

You will get the current kernel version in the following output:


Step 4 – Download the Linux Kernel Installation Script

Next, download the Linux kernel installation script on your system. This script will allow us to install the latest kernel on Linux.

You can download it using the wget command:


Once the download is complete, you will get the following output:

--2022-04-13 15:35:52--
Resolving (,,, ...
Connecting to (||:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 26474 (26K) [text/plain]
Saving to: ‘’           100%[=================================================================>]  25.85K  --.-KB/s    in 0.001s  

2022-04-13 15:35:52 (26.9 MB/s) - ‘’ saved [26474/26474]

Next, set the execution permissions to the downloaded script with the following command:

chmod +x

Step 5 – Install the Latest Kernel Version

Now, run the Linux kernel installation script to install the latest kernel on your system.

./ -i

You will be asked to install the latest kernel version as shown below:

Finding latest version available on
Latest version is: v5.17.2, continue? (y/N) 

Press the y key to start the installation. Once the latest kernel version is installed, you will get the following output:

Will download 6 files from
Downloading amd64/linux-headers-5.17.2-051702-generic_5.17.2-051702.202204081338_amd64.deb: 100%   
Downloading amd64/linux-headers-5.17.2-051702_5.17.2-051702.202204081338_all.deb: 100%   
Downloading amd64/linux-image-unsigned-5.17.2-051702-generic_5.17.2-051702.202204081338_amd64.deb: 100%   
Downloading amd64/linux-modules-5.17.2-051702-generic_5.17.2-051702.202204081338_amd64.deb: 100%   
Downloading amd64/CHECKSUMS: 100%   
Downloading amd64/CHECKSUMS.gpg: 100%   
Importing kernel-ppa gpg key ok
Signature of checksum file has been successfully verified
Checksums of deb files have been successfully verified with sha256sum
Installing 4 packages
Cleaning up work folder

Step 6 – Restart the System

After the latest kernel installation, you will need to restart your system to boot the system from the newly installed kernel.


Also Read

How to Use Rsync to Copy/Sync Files Between Servers

Step 7 – Verify the Latest Kernel Version

After the successful restart, run the following command to check the newly installed kernel version:

uname -r

You should see the following output:



In this post, we explained how to install the latest Kernel version on Ubuntu 20.04. You can now easily upgrade or install the latest Kernel version to your server. Try it on dedicated hosting from Atlantic.Net!

Get A Free To Use Cloud VPS

Free Tier Includes:
G3.2GB Cloud VPS Free to Use for One Year
50 GB of Block Storage Free to Use for One Year
50 GB of Snapshots Free to Use for One Year

Looking for a Hosting Solution?

We Provide Cloud, Dedicated, & Colocation.

  • Seven Global Data Center Locations.
  • Flexible Private, Public, & Hybrid Hosting.
  • 24x7x365 Security, Support, & Monitoring.
Contact Us Now! Med Tech Award FTC
SOC Audit HIPAA Audit HITECH Audit

Recent Posts

Best Cloud Consultancy or MSP in 2022
BAA Red Flags: What Should Your HIPAA-Compliant Hosting Company Be Willing to Accommodate?
HIPAA Compliance for Remote Workers: How to Maintain HIPAA Compliance with a Remote Team
How to Make the Best Use of the Cloud in the Internet of Things (IoT)
How to Make the Best Use of Artificial Intelligence in Cloud Computing

Get started with 12 months of free cloud VPS hosting

Free Tier includes:
G3.2GB Cloud VPS Server Free to Use for One Year
50 GB of Block Storage Free to Use for One Year
50 GB of Snapshots Free to Use for One Year

New York, NY

100 Delawanna Ave, Suite 1

Clifton, NJ 07014

United States

San Francisco, CA

2820 Northwestern Pkwy,

Santa Clara, CA 95051

United States

Dallas, TX

2008 Lookout Dr,

Garland, Texas 75044

United States

Ashburn, VA

1807 Michael Faraday Ct,

Reston, VA 20190

United States

Orlando, FL

440 W Kennedy Blvd, Suite 3

Orlando, FL 32810

United States

Toronto, Canada

20 Pullman Ct, Scarborough,

Ontario M1X 1E4


London, UK

14 Liverpool Road, Slough,

Berkshire SL1 4QZ

United Kingdom