User Tools

Site Tools


update_a_brand_new_kernel_debian_11

This is an old revision of the document!


METHOD 1:

The easiest way to install a newer kernel in Debian, is to install it from the backports. In order to install a kernel from the backports, we need to add the backports-repository for your Debian version to the apt-sources and update the list of available packages:

Add following line to /etc/apt/sources.list:

deb http://deb.debian.org/debian bullseye-backports main 
sudo apt-get update              

Now you can search for kernels:

sudo apt search linux-image

At this point, you can either install a specific version manually or choose to go for the latest release. To install the latest release, including necessary dependencies:

sudo apt -t bullseye-backports upgrade

After the upgrade, you can simply perform a reboot and the new kernel should be activated as the new default.

uname -r

METHOD 2:

sudo apt update && sudo apt upgrade -y

Add following to sources.list:

echo "deb http://deb.debian.org/debian unstable main contrib non-free" | sudo tee -a /etc/apt/sources.list
echo "deb-src http://deb.debian.org/debian unstable main contrib non-free" | sudo tee -a /etc/apt/sources.list
update_a_brand_new_kernel_debian_11.1645993479.txt.gz · Last modified: 2024/03/12 21:24 (external edit)