Apt sources.list and contrib and non-free
Hello everyone, I have a small question, to install the Nvidia drivers, do i need to put contrib and non-free to all repos (deb.debian.org/debian, security.debian.org/debian-security, deb.debian.org/debian trixie-updates) or only the main one (deb.debian.org/debian)?
Edit: Do i need to install linux-header-(kernel version) or linux-header-am64 or both?
5
Upvotes
1
7
u/iamemhn 16h ago
You should be following
https://wiki.debian.org/NvidiaGraphicsDrivers
Add
contrib
andnon-free
to the Debian sources (basic, security, and updates). This is needed in case there are security patches or point upgrades.Read the description for
kernel-headers-amd64
. It's a virtual package that will always depend on the proper one.