How To Install Linux Kernel 4.16 On Ubuntu / LinuxMint

Share it:
How To Install Linux Kernel 4.16 On Ubuntu / LinuxMint

Linux Torvalds introduced the Linux kernel 4.16 after 7 release candidates on 1st April 2018.

In this tutorial, I will show you how to Install the Latest version of Kernel 4.16 On Ubuntu 17.10 / Ubuntu 16.04 LTS and LinuxMint.

What's new in kernel version 4.16

  • Spectre / Meltdown Mitigation & Other Security
  • L2 CDP support for L2 cache partitioning on Intel CPUs
  • P-State driver support for Skylake X servers.
  • POWER memory protection keys support
  • Oracle DAX driver for SPARC co-processor
  • Jailhouse guest support for non-root users
Note: These mainline kernels do not have any ubuntu provided patches or drivers and not supported or PRODUCTION use.

So how to install Linux kernel 4.16 on Ubuntu / LinuxMint?

The below commands will work on Debian-based systems.

Step 1: Download the deb files from kernel.ubuntu.com or copy the below commands and paste it into terminal one by one according to your CPU architecture

For 64 bit systems

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.16/linux-headers-4.16.0-041600_4.16.0-041600.201804012230_all.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.16/linux-headers-4.16.0-041600-generic_4.16.0-041600.201804012230_amd64.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.16/linux-image-4.16.0-041600-generic_4.16.0-041600.201804012230_amd64.deb

For 32 bit systems

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.16/linux-headers-4.16.0-041600_4.16.0-041600.201804012230_all.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.16/linux-headers-4.16.0-041600-generic_4.16.0-041600.201804012230_i386.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.16/linux-image-4.16.0-041600-generic_4.16.0-041600.201804012230_i386.deb
Step 2: After successful downloading install it
sudo dpkg -i linux-headers-4.16* linux-image-4.16*
Step 3: Verify installed Version

After reboot, your new kernel will be installed and default, for checking use uname command
uname -r

Removing Kernel 4.16

For removing the Kernel 4.16 run the below command in terminal.
sudo apt-get remove linux-headers-4.16* linux-image-4.16*
Share it:

Post A Comment: