There are various Backports guides in random places but as the most common reason for Backports is to install a kernel more recent than the one in Stable for hardware support, here's a specific guide.
Add Backports to sources.list: to /etc/apt/sources.list (or add a new file with the ".list" extension to /etc/apt/sources.list.d/ . I use backports.list)
Update the package database, run:Install kernel metapackages (these will ensure any kernel updates are applied during normal update process):Reboot to use the new kernel.
That is for the most common amd64 architecture, modify if you use something else but check first if it is available in backports.
That is all!
New(ish) hardware may also require more current firmware. Check if a backports version is available and install it. If not, it is normally safe to install newer firmware packages from Testing or Unstable but do not add those as sources. Rather download the required package and install manually.
More info on Backports - https://backports.debian.org/Instructions/
Add Backports to sources.list:
Code:
deb http://deb.debian.org/debian bookworm-backports main
Update the package database, run:
Code:
apt update
Code:
apt install -t bookworm-backports linux-image-amd64 linux-headers-amd64
That is for the most common amd64 architecture, modify if you use something else but check first if it is available in backports.
That is all!
New(ish) hardware may also require more current firmware. Check if a backports version is available and install it. If not, it is normally safe to install newer firmware packages from Testing or Unstable but do not add those as sources. Rather download the required package and install manually.
More info on Backports - https://backports.debian.org/Instructions/
Statistics: Posted by sunrat — 2024-06-02 03:16