How to Update to Kernel 4.12.5 in Ubuntu and Linux Mint

By | August 8, 2017

The current latest stable version of the Linux kernel is 4.12.5. Here’s a simple tutorial on how you can upgrade your Ubuntu or Linux Mint PC to the latest version of the Kernel.

Check Kernel Version

If you want to check what Kernel version your Ubuntu PC has, you can use the uname command.

uname -a

The output will look something like this:

Linux Ubuntu 3.10.0-327.36.3.el7.x86_64 #1 SMP Mon Oct 24 16:09:20 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Install Linux Kernel 4.12.5 on Ubuntu and Mint

First, you will need to download the actual updated Kernel on your PC. For that, you can use wget command with the link to the kernel. But, to keep things safe, make a folder (temporary) where you will download the files.

mkdir update_kernel

Type the following command to go to the newly created folder.

cd update_kernel

Download the Kernel Image and Headers

Now download the Linux Kernel using wget. Make sure that you only download and install the appropriate Kernel version on your Ubuntu PC. You can also try to manually download these files from the URL below:

http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.12.5/

64-bit

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.12.5/linux-headers-4.12.5-041205_4.12.5-041205.201708061334_all.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.12.5/linux-image-4.12.5-041205-generic_4.12.5-041205.201708061334_amd64.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.12.5/linux-headers-4.12.5-041205-generic_4.12.5-041205.201708061334_amd64.deb

32-bit

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.12.5/linux-headers-4.12.5-041205_4.12.5-041205.201708061334_all.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.12.5/linux-image-4.12.5-041205-generic_4.12.5-041205.201708061334_i386.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.12.5/linux-headers-4.12.5-041205-generic_4.12.5-041205.201708061334_i386.deb

Install the Images and Headers

After downloading the Kernel Images and headers, you can now install them in Ubuntu and Mint using the dpkg.

sudo dpkg -i *.deb

Update GRUB and check the Kernel version

Now you should update GRUB which is is the bootloader in Linux systems.

sudo update-grub

Once all this is completed, restart your PC using the command

sudo reboot now

Now, check the Linux Kernel version using the uname command

uname -a

You should have the Linux Kernel version 4.12.5 installed on your Ubuntu or Mint PC.

 

Leave a Reply

Your email address will not be published. Required fields are marked *