Download the drivers: ftp://download.nvidia.com/XFree86/ or from the official site: http://www.nvidia.com/Download/index.aspx? and save them somewhere handy. I left them in the Downloads folder for the purposes of this guide. Also, take note of the version you're using and replace that in the lines where I use 295.33 and also make note of the x86 or x86_64 version you're using and amend that in what you type for this guide.
Protip: type "sudo su" at the beginning of this guide to avoid inputting your password or typing sudo on each command

Installing
- First we're going to blacklist some nouveau drivers that Linux reverts to after you uninstall the old NV drivers from the repos.
Open a terminal and do this:Code:sudo gedit /etc/modprobe.d/blacklist.conf
Use whatever text editor you like, doesn't have to be gedit I just like it!
Add to the bottom of that file:Code:blacklist nouveau
Save, close. - Now we need to make the .run file we downloaded an executable. You can rightclick on it and do this or do it via the CLI:Code:
cd Downloads sudo chmod +x NVIDIA-Linux-x86_64-295.33.run - Now we need to uninstall all old NV drivers, do this:Code:
sudo apt-get remove --purge nvidia*
That should remove all the older versions you may have installed. Usually just 173, but there could be more. The * wildcard ensures we get them all. If we don't there will be problems. - Now we need to stop the Desktop Environment from runningCode:
sudo service XXX stop
Choose whichever you are using and replace XXX with that. For example: gdm = Gnome, kdm = KDE, lightdm = XFCE. stock Ubuntu/Unity and lxdm = LXDE
So, to stop Ubuntu (vanilla using Unity) you would type this:Code:sudo service lightdm stop
Ok...
You will be taken to a black screen with a terminal - Log in using your details, Ok, now type this:Code:
cd Downloads sudo sh ./NVIDIA-Linux-x86_64-295.33.run - Follow the the instructions given and then reboot by typingCode:
sudo reboot
You should now have the newest drivers installed!
If something went wrong
Ubuntu will freeze during the boot process and seemingly be doing nothing. Fear not, press CTRL+ALT+F2 and log in. Now type:
cd Downloads
sudo sh ./NVIDIA-Linux-x86_64-295.33.run --uninstall
sudo apt-get install nvidia-current
startx
That should get you back to the desktop

If anything is amiss here please let me know as I'm just a n00b myself at Linux
I'll amend the guide to be correct.Edited by Rubers - 5/5/12 at 3:16am









