How To Install Kernel 4.12.5 on Ubuntu

How To Install Kernel 4.12.5 on Ubuntu

In this tutorial I will show you, how to install Kernel 4.12.5 on Ubuntu.

The final version of Kernel 4.12.5 has been finally released, bringing various changes and tweaks.

Installation instructions:

Because it is very difficult to compile a Linux kernel, Canonical has packed all the kernel releases as deb packages and made them available for everybody that uses Ubuntu or Ubuntu-based systems, via its kernel.ubuntu.com repository.

The below commands are available for all the Ubuntu, Linux Mint, Elementary OS and other derivative systems.

For 32 bit systems, download and install the i386 debs. For 64 bit systems, download and install the amd64 packages:

How to install Kernel 4.12.x on 32 bit Ubuntu and derivative systems:

Download the needed packages:

$ cd /tmp
$ wget \
kernel.ubuntu.com/~kernel-ppa/mainline/v4.12.5/linux-headers-4.12.5-041205_4.12.5-041205.201708061334_all.deb \
kernel.ubuntu.com/~kernel-ppa/mainline/v4.12.5/linux-headers-4.12.5-041205-generic_4.12.5-041205.201708061334_i386.deb \
kernel.ubuntu.com/~kernel-ppa/mainline/v4.12.5/linux-image-4.12.5-041205-generic_4.12.5-041205.201708061334_i386.deb

Install the Kernel:

$ sudo dpkg -i linux-headers-4.12*.deb linux-image-4.12*.deb

Optional, remove the kernel:

$ sudo apt-get remove linux-headers-4.12* linux-image-4.12*

How to install Kernel 4.12.x on 64 bit Ubuntu and derivative systems:

Download the needed packages:

$ cd /tmp
$ wget \
kernel.ubuntu.com/~kernel-ppa/mainline/v4.12.5/linux-headers-4.12.5-041205_4.12.5-041205.201708061334_all.deb \
kernel.ubuntu.com/~kernel-ppa/mainline/v4.12.5/linux-headers-4.12.5-041205-generic_4.12.5-041205.201708061334_amd64.deb \
kernel.ubuntu.com/~kernel-ppa/mainline/v4.12.5/linux-image-4.12.5-041205-generic_4.12.5-041205.201708061334_amd64.deb

Install the Kernel:

$ sudo dpkg -i linux-headers-4.12*.deb linux-image-4.12*.deb

Optional, remove the kernel:

$ sudo apt-get remove linux-headers-4.12* linux-image-4.12*

Was this Tutorial helpful? Help others share on Facebook, Twitter, and Google Plus!
 
Enjoyed this video?
How To Install Kernel 4.12.5 on Ubuntu
"No Thanks. Please Close This Box!"