Archive for the 'linux' Category

Installing nVidia drivers on debian linux

Since I forget the steps every single time I try to install or upgrade linux I’ll write them down.

  1. download the drivers from www.nvidia.com (usually a file with .run extension)
  2. download the kernel header files — apt-get install linux-headers-$(uname -r)
  3. execute the command — sh path to the nvidia driver here

There is another method I found, that seems to work for a lot of people:

  1. apt-get install module-assistant
  2. m-a prepare
  3. m-a auto-install nvidia