How to install the Nvidia
driver on Debian
To install the proprietary NVIDIA
graphics driver on Debian
, you can use drivers from non-free package or download them from nvidia official Web site .
To see whether the non-free treasury is enabled, run in Terminal
$ cat /etc/apt/sources.list | grep non-free
deb http://http.us.debian.org/debian/ squeeze contrib non-free main
deb http://ftp.us.debian.org/debian/ squeeze main contrib non-free
To enable the Treasury, in System -> Administration -> Software Sources -> Debian software switch option as shown below, click on the Close button, and Reload.
Then, install the necessary tools:
# Aptitude install module-assistant nvidia-kernel-common build-essential
To install the driver run:
# m-a prepare
# m-a update
# m-a a-i nvidia
Or if you are using an older graphics card:
# m-a a-i nvidia-legacy
To manually install the driver from he nvidia site , first download the latest version (Latest Version).
From here : http://www.nvidia.com/object/unix.html
Log out and kill your X session :
# /etc/init.d/gdm stop
Switch to the directory where the driver is located, for example:
# cd /home/yourUSERname/Downloads
Start the installation :
# sh NVIDIA-Linux-xxx.xxx.xx.xx pkgx.run
Installer will ask at the end of the installation to automatically update the xorg.conf configuration file, respond with Yes
When the installation finishes, Start the graphical environment to run:
# /etc/init.d/gdm start
Additional info : http://wiki.debian.org/NvidiaGraphicsDrivers
Any questions ? Feel free to ask!