Install latest kernel with Debian backports

From AcrodusWiki
Revision as of 14:34, 2 February 2025 by Alex (talk | contribs) (Created page with "This installs a more recent kernel that is part of the next release of Debian onto the 'Stable' Debian release currently running on the machine. First step is to add backport repo to sources.list or into sources.list.d <pre> deb http://deb.debian.org/debian bookworm-backports main </pre> Then run the command, -t specifies the version to take the package from. <pre> sudo apt install -t bookworm-backports linux-image-amd64 linux-headers-amd64 </pre> This also can be...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This installs a more recent kernel that is part of the next release of Debian onto the 'Stable' Debian release currently running on the machine.

First step is to add backport repo to sources.list or into sources.list.d

deb http://deb.debian.org/debian bookworm-backports main

Then run the command, -t specifies the version to take the package from.

sudo apt install -t bookworm-backports linux-image-amd64 linux-headers-amd64

This also can be used for any other package. It is also easy to upgrade the system to the next release once available as stable from this state.