In this article, we will show you how to install Nvidia video card drivers on a Debian Linux distro.
Make sure you have an Nvidia graphics adapter installed on your computer:
$ lspci|egrep'VGA|NVIDIA'
Enable contrib and non-free repositories:
$ sudo apt-add-repository contrib
$ sudo apt-add-repository non-free
Update the packages:
$ sudo apt update
Install Nvidia drivers:
$ sudo apt install nvidia-driver
If the following prompt appears, just click OK to continue the installation:
Configuring libcuda:amd64
Conflicting nouveau kernel module loaded
Restart your computer after installation is complete.
Check that nvidia modules are loaded into the kernel.
$ lsmod|grep nvidia