Upgrading your system with the Zabbly Kernel offers significant enhancements in stability and responsiveness, especially if you need the latest kernel for optimal performance or to tackle hardware-related issues and firmware support. The Zabbly Kernel, rooted in Mainline Linux, carefully adapts Ubuntu’s generic kernel configuration, integrating handpicked upstream changes. This ensures it matches Ubuntu’s architecture, promoting timely updates and heightened reliability. If you want to solve hardware problems or boost your system’s performance, this guide will show you a clear and direct route to improving your setup with the Zabbly Kernel.
Import Zabbly APT Repository
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
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
Confirm Installed Kernel Version
Verifying that the installation was successful after installing the Zabbly Linux kernel on your Ubuntu system 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
Remove Zabbly Kernel
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
That concludes our guide. We’ve explored how to add the Zabbly repo, update the Zabbly Kernel on Ubuntu, and revert to Ubuntu’s default kernel when necessary. It’s crucial to keep your system updated with the latest kernel for enhanced security and performance. However, always maintain a backup and consider using the default kernel if stability is your main concern.