Notes - Debian

Return to note list
Up-to-date Nvidia driver on Debian stable

Debian Stable is an excellent operating system, but rarely backports new Nvidia driver updates, which you might want for new driver features etc. for gaming. Nvidia provides a repository for its CUDA computing platform for Debian that includes up-to-date driver packages, and installs cleanly as an upgrade to the Debian-provided packages. Note that you might get "beta" drivers.

For Debian 12 (bookworm) use the following to enable the repository and upgrade:

wget https://developer.download.nvidia.com/compute/cuda/repos/debian12/x86_64/cuda-keyring_1.1-1_all.deb
sudo dpkg -i ./cuda-keyring_1.1-1_all.deb
sudo apt update && sudo apt upgrade

Then reboot.