Author Topic: How to install the Nvidia driver on Debian  (Read 511 times)

0 Members and 1 Guest are viewing this topic.

Offline fiRepath

  • UNIX is very simple, it just needs a genius to understand its simplicity. -- Dennis Ritchie
  • Moderator
  • Chatters
  • Posts: 19
  • Gender: Male
  • Hannibal ante portas
How to install the Nvidia driver on Debian
« on: February 26, 2012, 03:07:42 PM »
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:
Code: [Select]
$ 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:

Code: [Select]
# Aptitude install module-assistant nvidia-kernel-common build-essential
To install the driver run:
Code: [Select]
# m-a prepare
# m-a update
# m-a a-i nvidia

Or if you are using an older graphics card:
Code: [Select]
# 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 :
Code: [Select]
# /etc/init.d/gdm stop
Switch to the directory where the driver is located, for example:
Code: [Select]
# cd /home/yourUSERname/Downloads

Start the installation :
Code: [Select]
# 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:
Code: [Select]
# /etc/init.d/gdm start

Additional info : http://wiki.debian.org/NvidiaGraphicsDrivers
 
Any questions ? Feel free to ask!
 
 
 

« Last Edit: March 03, 2012, 10:38:46 AM by fiRepath »


The best way to learn UNIX is to play with it, and the harder you play, the more you learn.

Offline ^WiZard

  • Chatters
  • Posts: 2
Re: How to install the Nvidia driver on Debian
« Reply #1 on: February 29, 2012, 03:59:14 PM »
maybe u know how to activate nvidia on (k/Ubuntu) with optimus :\
Intel card + Nvidia built-into one (but the hdmi works via the nvidia)

Offline fiRepath

  • UNIX is very simple, it just needs a genius to understand its simplicity. -- Dennis Ritchie
  • Moderator
  • Chatters
  • Posts: 19
  • Gender: Male
  • Hannibal ante portas
Re: How to install the Nvidia driver on Debian
« Reply #2 on: March 01, 2012, 05:55:57 AM »
The best way to learn UNIX is to play with it, and the harder you play, the more you learn.

Chanops Community

Re: How to install the Nvidia driver on Debian
« Reply #2 on: March 01, 2012, 05:55:57 AM »