Archives For November 30, 1999

Mainline is a graphical tool to install the latest mainline Kernel in Ubuntu, Linux Mint, and derivatives.

Mainline (Ubuntu Mainline Kernel Installer) is an open-source fork of ukuu, which now is pay for use. It offers a simple interface with updated list of the “mainline” Kernels, allows to one-click install, remove, or purge Kernels in Ubuntu-based distributions.

Mainline features:

  • Fetches list of available kernels from Ubuntu Mainline PPA
  • Optionally watches and displays notifications when a new kernel update is available
  • Downloads and installs packages automatically
  • Display available and installed kernels conveniently
  • Install/remove kernels from gui
  • For each kernel, the related packages (headers & modules) are installed or removed at the same time

How to install Mainline in Ubuntu:

NOTE: 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.

The software has an official PPA so far contains packages for Ubuntu 18.04, Ubuntu 19.10, Ubuntu 20.04, and derivatives.

1.) To add the PPA, open terminal from system application launcher and run command:

sudo add-apt-repository ppa:cappelikan/ppa

2.) Then check updates and install the tool via commands:

sudo apt update

sudo apt install mainline

Uninstall:

To remove the PPA, run command:

sudo add-apt-repository --remove ppa:cappelikan/ppa

To remove the Ubuntu Mainline Kernel Installer, run command:

sudo apt remove mainline

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.

UPDATE 2020-08: UKUU is no longer free for use. You need to pay $12 for a personal license.

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.