Archives For Ubuntu Kernel Upgrade Utility

Linux Kernel

There’s already a graphical tool called Ukuu which make it easy to install the latest Linux Kernels in Ubuntu and Linux Mint.

Today I’m going to show you a new command line tool called UKTools which provides:

  • uktools-upgrade, one command to install the latest Linux kernel (stable) from kernel.ubuntu.com.

  • uktools-purge, one command to remove old kernels, the first and the last two are excluded.

The tools also support cron jobs to automatically run upgrade and/or purge scripts.

NOTE that the mainline kernels are provided by Ubuntu Kernel Team for testing and debugging purposes. They are not supported and are not appropriate for production use. You should only install these if they may fix a critical problem you’re having with the current kernel. Read more about mainline kernels.

How to Install UKTools in Ubuntu:

The application does not has any Ubuntu binary at the moment. However, it’s easy to compile it from the source.

1. Open terminal (Ctrl+Alt+T) and clone the source via command:

git clone https://github.com/usbkey9/uktools && cd uktools

2. Then compile and install it via command:

make

The setup runs automatically if it’s installed successfully.

Uninstall:

Keep the uktools folder in your user root directory, so you can re-run UKTools setup, or remove the command line tool via command:

cd ~/uktools/ && make uninstall

Linux Kernel

For those who want to test the latest Linux kernels, Ukuu (Ubuntu Kernel Upgrade Utility) offers a simple interface with list of the “mainline” Kernels and allow user to one-click download and install a selected kernel release.

The mainline kernels are provided by Ubuntu Kernel Team for testing and debugging purposes. They are not supported and are not appropriate for production use. You should only install these if they may fix a critical problem you’re having with the current kernel. Read more about mainline kernels.

ubuntu kernel upgrade utility

Ukuu features:

  • Fetches list of kernels from kernel.ubuntu.com
  • Displays notifications when a new kernel update is available.
  • Downloads and installs packages automatically

ukuu-settings

How to Install Ukuu in Ubuntu / Linux Mint:

For Ubuntu 14.04, Ubuntu 16.04, Ubuntu 16.10, Linux Mint 17 & 18, and based systems, you can install the tool from the developer’s PPA.

Just open terminal via Ctrl+Alt+T keyboard shortcut, and run the commands below one by one:

sudo add-apt-repository ppa:teejee2008/ppa

sudo apt-get update

sudo apt-get install ukuu

For those don’t want to add PPA, grab the DEB package from HERE.

Uninstall:

To remove the utility, simply run apt-get command with remove flag in terminal:

sudo apt-get remove ukuu

And you can remove the PPA via the Software & Updates utility under Other Software tab.

In addition, if the new kernels do not work properly on your machine, you can easily go back to the old (stable) kernel by:

  • reboot your computer.
  • go to Grub boot-loader (press & hold Shift key while booting if don’t see the menu)
  • in Grub menu, select Advanced Options and select boot the old stable kernel.
  • finally use Ukuu to remove mainline kernels.