DebianDebian Based

How To Install XanMod Kernel on Debian 11

Install XanMod Kernel on Debian 11

In this tutorial, we will show you how to install XanMod Kernel on Debian 11. For those of you who didn’t know, The XanMod Kernel is a custom Linux kernel that’s optimized for desktop and multimedia performance. It’s based on the latest stable Linux kernel release and includes patches and optimizations that are not present in the mainline kernel. The XanMod Kernel is known for its low latency, real-time scheduling, and CPU frequency scaling capabilities, making it an excellent choice for users who demand high performance from their systems.

This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo‘ to the commands to get root privileges. I will show you the step-by-step installation of XanMod Kernel on a Debian 11 (Bullseye).


  • A server running one of the following operating systems: Debian 11.
  • It’s recommended that you use a fresh OS install to prevent any potential issues.
  • SSH access to the server (or just open Terminal if you’re on a desktop).
  • An active internet connection. You’ll need an internet connection to download the necessary packages and dependencies for XanMod Kernel.
  • A non-root sudo user or access to the root user. We recommend acting as a non-root sudo user, however, as you can harm your system if you’re not careful when acting as the root.
  • Keep in mind that installing a custom kernel can be risky and may cause issues with system stability or compatibility with certain hardware or software. Therefore, it is recommended to create a backup of your system before proceeding with the installation.

Install XanMod Kernel on Debian 11 Bullseye

Step 1. Before we install any software, it’s important to make sure your system is up to date by running the following apt commands in the terminal:

sudo apt update
sudo apt upgrade
sudo apt install dirmngr ca-certificates software-properties-common gnupg gnupg2 apt-transport-https curl

Step 2. Installing XanMod Kernel on Debian 11.

By default, XanMod Kernel is not available on the Debian 11 base repository. So, now run the following command below to add the XanMod Kernel repository to your Debian system:

echo 'deb [signed-by=/usr/share/keyrings/xanmod-archive-keyring.gpg] releases main' | sudo tee /etc/apt/sources.list.d/xanmod-release.list

Next, import the GPG key using the following command:

wget -qO - | sudo gpg --dearmor -o /usr/share/keyrings/xanmod-archive-keyring.gpg

Now update the APT package cache and install the XanMod Kernel package using the following command below:

sudo apt update
sudo apt install linux-xanmod-x64v3

During the installation process, you’ll be prompted to select the default boot kernel. Choose the XanMod Kernel from the list of available kernels.

To verify that XanMod Kernel has been successfully installed on Debian 11, run the following command:

uname -r

The output should include the XanMod version number.

Step 3. Configuring XanMod Kernel.

After installing XanMod Kernel, you can configure it to enable its advanced features. Here are some examples of how to configure XanMod Kernel:

  • Low-latency: XanMod Kernel is optimized for low latency, which is important for tasks that require real-time responsiveness, such as audio and video processing. To enable low latency, use the following command:
sudo echo "kernel.sched_latency_ns=1000000" >> /etc/sysctl.conf
  • Real-time scheduling: Real-time scheduling can be used for tasks that require a guaranteed response time, such as audio and video processing. To enable real-time scheduling, use the following command:
sudo echo "kernel.sched_rt_runtime_us=-1" >> /etc/sysctl.conf
  • CPU frequency scaling: XanMod Kernel includes the Intel P-State driver, which provides advanced CPU frequency scaling capabilities. To enable the Intel P-State driver, use the following command:
sudo echo "intel_pstate=enable" >> /etc/default/grub

Congratulations! You have successfully installed XanMod Kernel. Thanks for using this tutorial for installing the latest version of XanMod Kernel on Debian 11 Bullseye. For additional help or useful information, we recommend you check the official XanMod website.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get the best deal!

Back to top button