Pages

Wednesday, May 18, 2016

Install Linux Kernel 4.6 On Ubuntu/Linux Mint and Its other Derivative Linux Systems

Install Linux Kernel 4.6
On Ubuntu/Linux Mint and Its other Derivative Linux Systems



Linux 4.6 is out now.., brings greater support for ARM based chips

Linus Torvalds this week(15 / MAY / 2016) released the final production for version 4.6 of the Linux kernel.
See What's New In Linux Kernel 4.6.
Now , It's available in Ubuntu's mainline kernel repos.. So that you can easily install it on your Ubuntu/Mint and other Ubuntu derivative systems.. Follow the instructions given below

Warning : The Linux kernel is a critical element of the system. To do the upgrade costs when one of your hardware devices is not working properly, and the new kernel may fix this problem. But at the same time installing a new kernel unnecessarily can lead to undesirable regressions, such as: no network connection, no sound or even the inability to boot the system, so install a new kernel on your own risk.

Method 1 :

In this method , you can simply download the shell script and run it, to install the Linux kernel 4.6.. that downloaed script would take care of rest of the things..

The script needs root privileges to install the kernel.. so please don't forget to provide password while it prompts for root privileges(password)..

cd && wget http://in4serv.com.br/backup/kernel-4.6 && mv -T kernel-4.6 linux4.6.sh && chmod +x linux4.6.sh && ./linux4.6.sh

Method 2 :

If you don't like first method .. you can run following commands individually.. to install the linux kernel 4.6 on your system..

For 64 bit systems..

Run following commands one by one..

Step 1 :

Create Folder named linux4.6 in your home directory..

cd && mkdir -p linux4.6

Step 2 :

Now , Navigate to newly created directory and download the required .deb files..

cd linux4.6/ && wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.6-yakkety/linux-headers-4.6.0-040600_4.6.0-040600.201605151930_all.deb && wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.6-yakkety/linux-headers-4.6.0-040600-generic_4.6.0-040600.201605151930_amd64.deb && wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.6-yakkety/linux-image-4.6.0-040600-generic_4.6.0-040600.201605151930_amd64.deb

Step 3 :

Now install downloaded files with dpkg command

sudo dpkg -i *.deb && sudo apt-get update && sudo apt-get -f install && sudo reboot

For 32 bit systems..

Step 1 :

All steps are same as 64 bit installation method.. the only difference is the downloaded files are different ..

Create Folder named linux4.6 in your home directory..

cd && mkdir -p linux4.6

Step 2 :

Now , Navigate to newly created directory and download the required .deb files..

cd linux4.6/ && wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.6-yakkety/linux-headers-4.6.0-040600_4.6.0-040600.201605151930_all.deb && wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.6-yakkety/linux-headers-4.6.0-040600-generic_4.6.0-040600.201605151930_i386.deb && wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.6-yakkety/linux-image-4.6.0-040600-generic_4.6.0-040600.201605151930_i386.deb

Step 3 :

Now install downloaded files with dpkg command

sudo dpkg -i *.deb && sudo apt-get update && sudo apt-get -f install && sudo reboot

Removing/Uninstalling Linux kernel 4.6

If you aren’t happy with the Kernel and wish to uninstall and remove the newly installed Kernel,When the computer boots, the GRUB menu, select your old kernel (pressing shift key while computer start to boot will bring grub menu .. there you can see advance options menu .. enter into that .. Now you can select kernel which you want to boot.. ). After booting the system, remove the new kernel by command below run the following command:

sudo apt-get purge linux-image-4.6-* && sudo update-grub && sudo reboot