How to Upgrade Kernel to Latest Version in Ubuntu

It is important to keep your systems up-to-date, here we'll show you how to upgrade your kenerl to the latest version in Ubuntu 16.04 and other debian based OS.

Step 1: Check currently installed kernel version

The following command will show you the currently installed kernel version:
# uname -sr
# Linux 4.4.0-64-generic

Step 2: Upgrading kernel version in Ubuntu 16.04

To upgrade the kernel in Ubuntu 16.04, go to http://kernel.ubuntu.com/~kernel-ppa/mainline/ and choose the desired version from the list by clicking on it. 

Next, download the .deb files for your system architecture (see highlighted in yellow below for a 32-bit system):

$ wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.9.13/linux-headers-4.9.13-040913_4.9.13-040913.201702260631_all.deb
$ wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.9.13/linux-headers-4.9.13-040913-generic_4.9.13-040913.201702260631_i386.deb
$ wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.9.13/linux-image-4.9.13-040913-generic_4.9.13-040913.201702260631_i386.deb 


Once you’ve downloaded all the above kernel files, now install them as follows:

$ sudo dpkg -i *.deb

Once the installation is complete, reboot your machine and verify that the new kernel version is being used:

$ uname -sr

And that’s it. You are now using a much more recent kernel version than the one installed by default with Ubuntu 16.04.






  • ubuntu, kernel upgrade, debian
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to change maximum upload size in php.ini

  There are a few common errors that occur in Wordpress and other PHP-based programs that use...

How to change the primary IP address of a cPanel server

Steps in WHM: Log into WHM and go to Basic cPanel & WHM Setup Change the Primary IP here...

How to install WordPress with Docker on Ubuntu 16.04

Before we start, it is necessary to install Docker and Docker Compose. On Ubuntu 16.04, this can...

How to enable the gzip/deflate in nginx server on a Linux or Unix system

Ever thought of enabling gzip compression on nginx web server for JS/CSS/HTML files? Here is...

How to configure SQL server in Linux

Problem You installed SQL Server on Linux and need to customize the default installation, for...