Note: A lot has changed since this article was last updated in 2006 so the information may no longer be current.
Installing Nvidia kernel modules on a Debian machine.
Before commencing you need to ensure you have compiled your own kernel.
Instructions on how to do so can be found here
Nvidia kernel package
apt-get install nvidia-kernel-source
tar -zxf nvidia-kernel-source.tar.gz
dpkg -i nvidia-kernel-KVER*.deb
The debian package also creates a bunch of /dev/nvidia* devices which have a gid of video. You will need to add yourself to the video group. This will also require you to log out and log back in again to gain the new group permissions.
addgroup username video
Nvidia GLX package
apt-get install nvidia-glx
Modify your /etc/X11/XF86Config-4 remove the following 2 lines:
Tell x to use the new driver in Section “Device” by removing the following line:
and replacing it with:
Now cross your fingers and hang onto your pants!