This guide will demonstrate how to install Zabbly Kernel on Ubuntu 24.04, 22.04, or 20.04 LTS releases using the command-line terminal for those that require the latest kernel for performance or to address hardware-related bugs or firmware support. Transitioning from a standard kernel to a Zabbly Kernel can significantly enhance your system’s stability and responsiveness. Derived from the Mainline Linux kernels, Zabbly is meticulously configured to mirror Ubuntu’s generic kernel while incorporating selective upstream modifications. This results in a kernel that aligns closely with Ubuntu’s architecture and offers timely updates and improved reliability. Whether dealing with a specific hardware issue or seeking a performance boost, this guide provides a straightforward path to upgrading your system with Zabbly Kernel.
Import Zabbly APT Repository on Ubuntu
Update the Ubuntu System Before Installing Zabbly Kernel
To begin, update your Ubuntu system. This step ensures that all existing packages are up-to-date before you proceed with the Zabbly kernel installation.
Execute the following command in the terminal:
sudo apt update && sudo apt upgrade
Add the Zabbly Linux Kernel Repository
Install Necessary Packages
Before adding the Zabbly repository, you need to install packages that aid in managing the repository and its GPG key. Run this command to install the required packages:
sudo apt install lsb-release software-properties-common apt-transport-https ca-certificates curl -y
Import the Zabbly Kernel GPG Key
The next step involves importing the Zabbly Kernel GPG key. This key authenticates the packages you will install from the Zabbly repository. Use the following command to import the GPG key:
curl -fSsL https://pkgs.zabbly.com/key.asc | gpg --dearmor | sudo tee /usr/share/keyrings/linux-zabbly.gpg > /dev/null
Add the Zabbly Kernel Repository
Finally, add the Zabbly Kernel repository to your system. This command detects your Ubuntu distribution’s codename and configures the repository. Ensure you run the command as shown:
codename=$(lsb_release -sc) && echo deb [arch=amd64 signed-by=/usr/share/keyrings/linux-zabbly.gpg] https://pkgs.zabbly.com/kernel/stable $codename main | sudo tee /etc/apt/sources.list.d/linux-zabbly.list
Install Latest Upstream Linux Kernel on Ubuntu
Refresh APT Index
Following the addition of the Linux Zabbly Kernel repository, it’s crucial to refresh your APT package index. This process ensures that your system acknowledges the new repository and accesses its packages. Use this command to update the APT index:
sudo apt update
Install Linux Kernel via APT Command
Now that the APT index is refreshed, your system is set to install Linux Kernel Mainline. This version offers the latest functionalities and improvements for Ubuntu.
Run the following command to install Linux Kernel mainline:
sudo apt install linux-zabbly
Reboot Ubuntu System
To apply the changes, restart your system. You can do this by executing the command:
sudo reboot
Verify Zabbly Linux Kernel Installation on Ubuntu
Confirm Installed Kernel Version
After installing the Zabbly Linux Kernel on your Ubuntu system, verifying that the installation was successful is vital. This step confirms that your system operates on the newly installed kernel version.
To check the current kernel version, execute this command:
uname -r
This command displays the version of the kernel your system is currently using.
Displaying System Information with Neofetch
Consider using Neofetch, a command-line tool that presents detailed system information in a visually appealing format, for a comprehensive system overview that includes the kernel version.
If Neofetch is not already present on your system, install it using the following command:
sudo apt install neofetch
With Neofetch installed, you can display your system specifications, including the kernel version. Run Neofetch with:
neofetch
How to Restore Ubuntu Default Kernel on Ubuntu
Remove Linux Kernel Installed via Zabbly
To remove the Linux Zabbly Kernel from your Ubuntu system, execute this command:
sudo apt remove linux-zabbly linux-headers-*-zabbly* linux-image-*-zabbly*
This command ensures the removal of the Zabbly kernel along with its associated headers and images.
Remove Zabbly APT Repository
If you aim to revert to the default Ubuntu kernel and wish to delete the Zabbily repository, use this command:
sudo rm /etc/apt/sources.list.d/linux-zabbly.list
Following the removal of the repository, update your APT index to apply these changes:
sudo apt update
Re-install Ubuntu Default Kernel (Situational)
You must reinstall the default kernel if your system only displays the Zabbly kernel versions and lacks other kernels. Use the following command for reinstallation:
sudo apt install --reinstall linux-image-generic
Reboot System
After removing the Zabbly Kernel and making the necessary modifications, restart your system to enforce these changes:
sudo reboot
Verify Zabbly Kernal Removal
Lastly, ensure that your system operates on the default Ubuntu kernel with this command:
uname -r
Conclusion
Alright, that wraps up our guide. We’ve journeyed through adding the Zabbly repo, updating the Zabbly Kernel on Ubuntu, and even rolling back to Ubuntu’s default kernel if needed. Remember, keeping your system updated with the latest kernel is excellent for security and performance, but always have a backup plan. Stick to the default kernel if stability is your top priority.