Skip to main content

Install Nvidia Driver on Debian 12 Bookworm

Since Nvidia open-source part of their GPU driver on Linux, the way to install Nvidia driver on Debian has changed sightly. 

As of 2025-07-06, the latest Nvidia Driver for Linux is version 570.169.

Check that if an Nvidia GPU is detected on your Linux system.

lspci | grep VGA

Screenshot_2025-07-02_233225.png

Then, head over to the Nvidia website and serach for the Linux driver. 

Screenshot_2025-07-06_231434.png

Once found, copy the driver download link. We will be using wget to download the driver from the command line. 

Screenshot_2025-07-06_231512.png

Screenshot_2025-06-25_151358.png

Before we can run the driver, we need to install two package dependencies:

sudo apt install linux-headers-$(uname -r) build-essential

Screenshot_2025-07-02_235328.png

Once installed, we can run the Nvidia driver .run file:

sudo bash NVIDIA-Linux-x86_64-575.64.run

Screenshot_2025-07-03_000531.png

We will choose the open-source version of the driver. 

Screenshot_2025-07-06_122110.png

By defauit, Debian will have the Nouveau kernal module loaded, and cannot be run together with the Nvidia driver. 

Screenshot_2025-07-06_122125.png

The Nvidia installation driver will attempt to disable the Nouveau kernal module by creating the config files necessary to prevent it from being loaded at boot. 

Screenshot_2025-07-06_122145.png

Screenshot_2025-07-06_122202.png

Continue the installation.

Screenshot_2025-07-06_122217.png

Screenshot_2025-07-06_122239.png

Screenshot_2025-07-06_122446.png

Screenshot_2025-07-06_122457.png

Screenshot_2025-07-06_122509.png

Choose Rebuild Initramfs.

Screenshot_2025-07-06_122522.png

Screenshot_2025-07-06_122535.png

Choose Yes.

Screenshot_2025-07-06_122630.png

Screenshot_2025-07-06_122642.png

Screenshot_2025-07-06_122655.png

That's it! Reboot the system now. 

Once rebooted, check with nvidia-smi to see if an Nvidia GPU is detected. 

sudo nvidia-smi

Screenshot_2025-07-03_000610.png