The Linux kernel is the core component of any Linux operating system, managing hardware resources and system processes.
Kernel 6.12.17 brings important updates, security patches, and performance improvements that can enhance system stability and compatibility with newer hardware.
Kernel 6.12.17 highlights:
- Full PREEMPT_RT support: After two decades of development, this kernel introduces full support for PREEMPT_RT, providing enhanced real-time performance.
- EEVDF scheduler implementation: The kernel now includes the Enhanced Even Load Balancing Fairness (EEVDF) scheduler, which optimizes task distribution across multiple processors.
- BPF-based task scheduling algorithms: It is now possible to write custom task scheduling algorithms using BPF (Berkeley Packet Filter), providing flexibility and performance improvements.
- DRM panic messages with QR codes: In the case of a critical error, the kernel can display a QR code on the panic screen, making it easier to diagnose the issue.
- Zero-copy support for TCP reception: The kernel now allows direct transfer of TCP payloads into a DMABUF memory region, reducing memory usage and improving performance.
- New security modules for binary integrity: Security modules have been introduced to ensure that binary files come from protected storage environments, enhancing system security.
- Memory Protection Keys support for ARM architecture: The kernel adds support for Memory Protection Keys (MPK) on ARM architecture, providing finer control over memory permissions.
- Extended support for XFS file systems: Improved support for XFS, allowing the use of block sizes larger than the memory page size.
In this guide we will be installing Kernel 6.12.17, which has been released a while go.
Check your current kernel version:
Before proceeding with the installation, verify your current kernel version by running:
uname -r
How to install Kernel 6.12.17 on Ubuntu, Linux Mint, Debian, and derivative systems (amd64/x86_64):
Step 1: Update Your System
Run the following commands to ensure your system is up to date:
sudo apt update && sudo apt upgrade -y
This will update your package list and upgrade all installed packages to their latest versions.
- What Does
apt updateDo?
This command updates the package list to reflect the latest versions available from your repositories. - What Does
apt upgradeDo?
It upgrades all the packages that have new versions available while keeping existing dependencies intact.
Step 2: Download the Kernel 6.12.17 Packages
Download the necessary kernel packages from the official Ubuntu repositories or the kernel website:
wget -c https://kernel.ubuntu.com/mainline/v6.12.17/amd64/linux-headers-6.12.17-061217-generic_6.12.17-061217.202502271349_amd64.deb
wget -c https://kernel.ubuntu.com/mainline/v6.12.17/amd64/linux-image-unsigned-6.12.17-061217-generic_6.12.17-061217.202502271349_amd64.deb
wget -c https://kernel.ubuntu.com/mainline/v6.12.17/amd64/linux-modules-6.12.17-061217-generic_6.12.17-061217.202502271349_amd64.deb
wget -c https://kernel.ubuntu.com/mainline/v6.12.17/amd64/linux-headers-6.12.17-061217_6.12.17-061217.202502271349_all.deb
Step 3: Install the New Kernel
Install the downloaded packages using dpkg:
sudo dpkg -i linux-headers-6.12*.deb linux-modules-6.12*.deb linux-image-6.12*.deb
Step 4: Update GRUB and Reboot
Once the kernel installation is complete, update GRUB to ensure the new kernel is recognized:
Regenerate the GRUB ConfigurationRun the following command to update GRUB with the latest installed kernel:
sudo update-grub
Verify GRUB Configuration
To confirm that the new kernel has been detected, check the GRUB configuration:
cat /boot/grub/grub.cfg | grep 'menuentry'
This should list all available kernels, including Kernel 6.12.17.
Reboot the System
Restart your computer to apply the changes:
sudo reboot
- Select the New Kernel (if needed)If the system doesn’t automatically boot into the new kernel, you can manually select it:
- Hold Shift or Esc during boot to access the GRUB menu.
- Navigate to Advanced options for Ubuntu.
- Choose the entry with Kernel 6.12.17.
- Press Enter to boot.
Verifying the Installed Kernel
After rebooting, confirm the new kernel version:
uname -r
Rolling Back to a Previous Kernel
If you encounter issues with the new kernel, you can revert to an older version:
- Reboot and Access the GRUB MenuRestart your system and hold Shift or Esc to enter the GRUB boot menu.
- Select Advanced options for UbuntuChoose an older kernel version and boot into it.
- Remove Kernel 6.12.17 (if desired)If you prefer to remove the new kernel permanently, run:
sudo apt remove linux-headers-6.12* linux-modules-6.12* linux-image-6.12*
sudo update-grub
sudo reboot
Conclusion
Upgrading to Kernel 6.12.17 can significantly enhance your Ubuntu system’s performance, security, and hardware support. However, always ensure compatibility with your system before upgrading and keep a previous kernel available in case of issues. Happy computing!






Pingback: How To Install Kernel 6.12.16 On Ubuntu, Debian And Derivative Systems - iDoLinux