Terminal commands to install or upgrade Linux Kernel 4.7-RC5 on Ubuntu 16.04 Systems. The Linux Kernel 4.7-RC5 is a fairly normal release and brings various patches for drivers and few architecture updates. Linux Kernel 4.7 is expected to get released by 24th July 2016.
Announcing the Linux Kernel 4.7-RC5, Linux Torvalds said “The stats looks fairly normal: about half the patch is drivers, roughly a quarter is architecture updates, and the remainder is “misc”: filesystems, scheduler, mm, etc. The bulk of the drivers is GPU updates, but there’s a smattering of rdma, hwmon, Xen, gpio, sound. The architecture side is powerpc, x86, some arm64, and some noise all over from some MM cleanups..”
Install Linux Kernel 4.7-RC5 in Ubuntu
On 32-Bit Ubuntu Systems
Run the following commands in Terminal to download the Kernel .deb packages and then install it accordingly.
$ wget kernel.ubuntu.com/~kernel-ppa/mainline/v4.7-rc5/linux-headers-4.7.0-040700rc5_4.7.0-040700rc5.201607110749_all.deb
$ wget kernel.ubuntu.com/~kernel-ppa/mainline/v4.7-rc5/linux-headers-4.7.0-040700rc5-generic_4.7.0-040700rc5.201607110749_i386.deb
$ wget kernel.ubuntu.com/~kernel-ppa/mainline/v4.7-rc5/linux-image-4.7.0-040700rc5-generic_4.7.0-040700rc5.201607110749_i386.deb
$ sudo dpkg -i 'linux-headers-4.7*.deb' 'linux-image-4.7*.deb'
On 64-Bit Ubuntu Systems
Run the following commands in Terminal to download the Kernel .deb packages and then install it accordingly.
$ wget kernel.ubuntu.com/~kernel-ppa/mainline/v4.7-rc5/linux-headers-4.7.0-040700rc5_4.7.0-040700rc5.201607110749_all.deb
$ wget kernel.ubuntu.com/~kernel-ppa/mainline/v4.7-rc5/linux-headers-4.7.0-040700rc5-generic_4.7.0-040700rc5.201607110749_amd64.deb
$ wget kernel.ubuntu.com/~kernel-ppa/mainline/v4.7-rc5/linux-image-4.7.0-040700rc5-generic_4.7.0-040700rc5.201607110749_amd64.deb
$ sudo dpkg -i 'linux-headers-4.7*.deb' 'linux-image-4.7*.deb'
Once the Kernel is installed, run the commands given below to update GRUB and reboot the system. While rebooting the computer, select the newly released Kernel in GRUB :
$ sudo update-grub
$ sudo reboot
Remove Kernel
If you aren’t happy with the Kernel and wish to uninstall and remove the newly installed Kernel, run the following command:
$ sudo apt-get remove 'linux-headers-4.7*' 'linux-image-4.7*'