Install Linux kernel 4.12.5 on Ubuntu 17.04

Linux Kernel

A few days ago version 4.12.5 was released this being the fifth maintenance version of Linux Kernel 4.12, so this is an update that brings a lot of news, being a fairly important update.

Kernel 4.12.5 is focused on improving the AmdGPU and Nvidia drivers in the system fixing serious GPU crash issues revealed by Wayland. It also improves performance of storage systems RAID on Ext4 filesystem.

Undoubtedly, this fifth update of Kernel 4.12 seems perfect, since we can see big changes, for which there will still be several problems to correct, but due to what is happening, support for more devices continues to increase, which represents a development to frequent lapses.

How to install Kernel 4.12.5 on Ubuntu 17.04

If you want to install this version of the Kernel, we can directly have the compiled Kernel that the Ubuntu development team offers us, which saves us a lot of time in configuring and compiling it.

Install on 32-bit systems

First, for those who have 32-bit systems, we have to open a terminal and execute the following commands:

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

We will only have to wait for these packages to be downloaded, at the end of the download we proceed to install them with the following command:

 sudo dpkg -i linux-headers-4.12.5*.deb linux-image-4.12.5*.deb 

Install on 64-bit systems

In the same way, we will carry out the same steps, only unlike that we will download the packages indicated for this architecture.

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

At the end of the download of the files, we proceed to install the Kernel with:

 sudo dpkg -i linux-headers-4.12.5*.deb linux-image-4.12.5*.deb 

Here we only touch wait for the kernel installation to finish in our system, at the end of this process only we will have to restart the computer. And voila, when you turn the computer back on, the boot will show us to start the system with the new version of the Kernel, this is by default, so if we want to start the system with a previous version we will have to choose it ourselves.

How to uninstall Kernel 4.12.5

If for any reason you want to uninstall Linux Kernel 4.12.5, you will have to restart your computer and load the startup with a Kernel different from this one from Grub we will select the option «bootloader -> Advanced options»And we execute the following command:

sudo apt-get remove linux-headers-4.12.5* linux-image-4.12.5*

Be the first to comment

Leave a Comment

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

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.