Today I have stumbled upon an useful tool called "Ubuntu Kernel Upgrade Utility", shortly Ukuu, that allows you to install and upgrade Linux kernel in Ubuntu and its variants. Ukuu is developed and maintained by Tony George of TeeJee Tech. It fetches the latest main line Linux kernel from kernel.ubuntu.com, and install it automatically in your Ubuntu. Whenever a new Kernel update is available, it will notify you. Ukuu is a Gtk GUI and command line tool, so it will work on both Desktop and Server editions.
In this brief, I will explain how to install and upgrade latest Linux Kernel in Ubuntu 16.10 desktop. The same steps should work on other Ubuntu versions and Ubuntu derivatives such as Linux Mint, Elementary OS etc.
Install Ukuu in Ubuntu
Open up your Terminal and run the following command to add the PPA for Ukuu:
$ sudo apt-add-repository -y ppa:teejee2008/ppa
Update the sources list:
$ sudo apt-get update
Finally, Install Ukuu using command:
$ sudo apt-get install ukuu
Install And Upgrade Linux Kernel using Ukuu in Ubuntu 16.10 and newer versions
Once installed, launch Ukuu by entering the following command on your Terminal window.
For Ubuntu desktop (GUI):
$ sudo ukuu-gtk
For Ubuntu server (CLI):
$ sudo ukuu
The default interface of Ukuu will look like below.
As you see above, Ukuu shows the latest available Linux kernel on the top, installed and currently running kernel, and other older kernels.
To install a Kernel, just select it from the list and hit Install button on the bottom.
A new command line window will open and Ukuu will start to download and install the selected Kernel. Once the new Kernel installed, reboot and log in with the newly installed Kernel.
In the Settings section of Ukuu, you can define various options such as,
- Notifying when a major release is available
- Notifying when a point release is available
- Define the time interval for checking new Linux Kernel etc.
Ukku not only simplifies the process of manually downloading and installing new Kernels, but also helps us to safely remove the unnecessary Kernels which are outdated. To remove an old Kernel, select it and hit Remove button at the bottom.
When a new Kernel is available in the mainline Kernel website, Ukuu will notify you and install it automatically on your Ubuntu system.