Debian is considered one of the most stable Linux distributions overall. However, this stability does not stem from a focus on up-to-date software; rather, it lies in the fact that the packages actually run stably, ensuring smooth operation.
More or less inexperienced Linux users take issue with this policy. I myself used Debian for years in the desktop area precisely because of this stability. A few months ago, I switched to LMDE (Linux Mint Debian Edition) due to an SSD changeover, which is currently still at version 6. Work on version 7 is underway, so it is only a matter of time before a version upgrade is available there as well.
But that’s just a side note. Let’s now get to the main part, the guide: How do I install a current kernel under Debian GNU/Linux?
Introduction to the Guide
In principle, there are two different ways to obtain a current kernel:
- You go to the website https://www.kernel.org , download the kernel sources there, and compile everything for your system.
- You get it as a ready-made .deb package and install that.
And that’s exactly what we do here. Compiling the kernel is possible, but in my opinion, it only makes sense if you want to make the system leaner. For that, you should know your system and understand what you are doing; otherwise, you could also blow up the entire system.
As with all my tutorials, you shouldn’t be afraid of the console, or better said, the terminal here either.
First, let’s update the system:
sudo apt update && sudo apt upgrade -y
Following that, we install the following packages:
sudo apt install lsb-release software-properties-common apt-transport-https ca-certificates curl -y
To install the Zabbly Linux kernel, we must first add the Zabbly APT repository to our Debian system. This repository provides the kernel packages and ensures regular updates.
Step 1: We import the Zabbly GPG key
To verify the integrity of the packages from the repository, we import the Zabbly GPG key with the following command:
| |
Without this key, we cannot install the kernel from the Zabbly repository, and every sudo apt update will result in error messages because the key is missing.
Step 2: Add the Zabbly Repository
This ensures that we can also install the Zabbly kernel from the repository.
| |
Note for Linux Mint and LMDE Users
Kernel Installation: Linux Mint vs. LMDE
| Distro | Recommended Way | Special Features |
|---|---|---|
| Linux Mint | Update Manager (GUI) | Easy kernel selection and update via the interface (only Ubuntu kernels). |
| LMDE | Debian Backports (apt) | No kernel tool, usage via CLI: |
sudo apt install -t bookworm-backports linux-image-amd64 linux-headers-amd64 |
General Notes:
- In Linux Mint, kernel switching is comfortable via GUI; in LMDE, it is only possible via terminal.
- Mint uses the Ubuntu Hardware Enablement Stack (HWE) and also receives newer kernels even in the LTS cycle.
- In LMDE, usually only security updates for the kernel are provided – current kernels are available only via backports.
Why Zabbly Kernels are Problematic on Mint & LMDE
- System Integration: Mint and LMDE carefully match kernels, drivers, and system libraries to each other. A foreign kernel (e.g., from Zabbly) can be incompatible with other system packages (e.g., DKMS drivers, tools like Timeshift, NVIDIA drivers, etc.) \[web:1\] .
- Lack of Testing & Support: Kernels from Zabbly do not go through the testing and support chain of the Mint and Debian teams. Errors and boot problems are harder to trace, and support is usually not available via Mint/Debian in case of issues \[web:2\] .
- Package Conflicts: Zabbly often provides only the kernel itself, but not matching bootloader, initramfs, header, or driver versions in the same format as Mint/Debian. Updates or automatic upgrades may fail or make the system unbootable \[web:3\] .
- Security and Feature Guarantee: Official kernels include guaranteed security fixes and are maintained throughout their lifecycle. With foreign sources like Zabbly, this security is limited or not verifiable.
Back to Installing the Kernel
Step 3: Update the APT Cache
In order for us to be able to install the new kernel, APT must of course also know that a new repository is available.
We do this as always via sudo apt update. Our system is now ready, and we can install the Zabbly kernel.
Install the Zabbly Kernel
Once the Zabbly APT repository has been added and our system is prepared, we can proceed with the installation of the Linux kernel provided by Zabbly.
Step 1: Install the Kernel
We use the following command to install the Zabbly Linux kernel on our Debian system:
sudo apt install linux-zabbly
This installs the latest release of the Zabbly kernel.
Step 2: Reboot the System
In order for us to also benefit from the new kernel, we unfortunately have to reboot the computer.
sudo systemctl restart or sudo reboot
Step 3: Do I Have the New Kernel?
Actually, the new kernel should already be listed in the Grub menu upon reboot. For safety, we can enter uname -r in the console again, which shows us the currently used kernel.
Hooray, We Have the New Kernel
If everything goes smoothly, we now have the new kernel on our system. These days, it makes less sense to configure and compile the kernel yourself. Especially considering that make oldconfig—often referred to in some tutorials as the ultimate process—is, when viewed individually, not worth the effort.
If you really want to configure the kernel yourself, you should know what you need and what you don’t. However, for everyday use, the method described here is entirely sufficient and offers the same capabilities as the standard kernel.


