Install and uninstall NVIDIA driver in ubuntu

Install NVIDIA Driver
First you need to install the linux kernel headers:
sudo apt-get install linux-headers-generic
Then you will need to run dkms to remove the old nvidia kernel module:
sudo dkms remove nvidia
Then run:
sudo apt-get install nvidia-current

this should make it install correctly, so all you need to do is run
sudo nvidia-xconfig 
and reboot the system.
If you get an error about the module version, run: 
sudo dkms build nvidia

Uninstall NVIDIA Driver
To uninstall NVIDIA driver run the following command
apt-get remove –purge nvidia-current


You can leave a response, or trackback from your own site.

Leave a Reply