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.
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:
The setup runs automatically if it’s installed successfully.
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