Build latest stable kernel 6.19.8 on a fresh installed Debian 13.
Kernel Website: https://kernel.org/
Steps:
1. Update System
sudo apt update
sudo apt upgrade
2. Install Kernel Build System
sudo apt install build-essential libncurses-dev xz-utils libssl-dev flex libelf-dev bison
3. Download Kernel Source
wget https://cdn.kernel.org/pub/linux/kernel/v6...
tar xf linux-6.19.8.tar.xz
cd linux-6.19.8
4. Config & Compile
cp /boot/config-$(uname -r) .config
make oldconfig
make -j$(nproc)
5. Install
sudo make modules_install
sudo make install
6. Update Grub
sudo grub-mkconfig -o /boot/grub/grub.cfg
7. Reboot
sudo reboot