
I would recommend using these drivers since when an update is released, you will receive it straight away. The second method will install the latest drivers for your desktop or server using the Cuda repository. #2nd Method – Install Nvidia Drivers with Nvidia Repository It is not advised to install these drivers if you need to replace 390xx with 340xx, but Debian does not recommend this. The 340 series can technically be installed however, it is no longer supported, and several major security flaws exist in those drivers.

Next, run the “nvidia-smi” command to verify the installation. Once complete, do not forget to reboot your system. This can be quickly done using the following commands.įirst, add the contrib repository. The first task is enabling the “contrib” and “non-free” repositories to your Debian repositories. #1st Method Install NVIDIA Drivers – Debian Repository Installation Pre setup If you use one method, stick to it, and if you want to swap, ensure you remove the previous installation to avoid conflicts.

Please note installing Nvidia drivers over the standard packages can result in unexpected issues, especially if you install the Nvidia drivers from Debian’s repository, then import the Nvidia Cuda repository and try to re-install or upgrade directly over those packages. sudo apt upgrade Previous Nvidia Installations Proceed to upgrade any outdated packages using the following command. Optionally, you can list the updates for users who require review or are curious. Recommended Steps Before Installationīefore proceeding with the tutorial, ensuring your system is up-to-date with all existing packages is good. Please note that other distributions, such as MX Linux, may find both methods to work exactly as they would on a standard Debian system. In the future, if Debian makes any changes to break the tutorial for one of the distribution versions, please place a comment for me to investigate so I can update the tutorial. The following tutorial was done with a Debian 11 Bullseye release and example images taken, but it was tested on Debian Buster.


