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 20.04, Ubuntu 22.04, Ubuntu 24.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