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.