Install / Upgrade to Linux Kernel 4.12.2 On Ubuntu / LinuxMint

Share it:


A new updated version has been released for the 4.12 series and it is 2nd in this series.


In this Tutorial, I will show you how to Install the Latest version of Kernel 4.12.2 On Ubuntu 16.04 LTS / 17.04, LinuxMint / Debian systems.

The Latest stable version of Kernel is 4.12.2 and it released on 15th July 2017

Installation steps

The below commands will work on Debian based systems.

Step 1: Download the deb files directly using wget, copy the below commands and paste it in terminal one by one according to your CPU architecture

For 32 bit systems

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.12.2/linux-headers-4.12.2-041202_4.12.2-041202.201707150832_all.deb 
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.12.2/linux-headers-4.12.2-041202-generic_4.12.2-041202.201707150832_i386.deb 
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.12.2/linux-image-4.12.2-041202-generic_4.12.2-041202.201707150832_i386.deb

For 64 bit systems

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.12.2/linux-headers-4.12.2-041202_4.12.2-041202.201707150832_all.deb 
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.12.2/linux-headers-4.12.2-041202-generic_4.12.2-041202.201707150832_amd64.deb 
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.12.2/linux-image-4.12.2-041202-generic_4.12.2-041202.201707150832_amd64.deb
Step 2: After successful downloading install it
sudo dpkg -i linux-headers-4.12.2-* linux-image-4.12.2-* .deb
Step 3: Verify installed Version
After successful installation reboot the system, Your new kernel will be installed and set as default, for checking use uname command
uname -r

Removing Kernel 4.12.2

For removing the Kernel 4.12.2 run the below command in terminal or use synaptic package manager
sudo apt-get remove linux-headers-4.12.2-* linux-image-4.12.2-*
Share it:

Post A Comment: