How to Install the Nvidia Drivers on Debian?

PowerADM.com / Linux / Debian / How to Install the Nvidia Drivers on Debian?

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'

lspci check for nvdia hardware

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

sudo apt install nvidia-driver

Restart your computer after installation is complete.

Check that nvidia modules are loaded into the kernel.

$ lsmod|grep nvidia
Leave a Reply

Your email address will not be published. Required fields are marked *