1

What is the Terminal command to purge all current Nvidia drivers and install Nvidia binary driver - version 331.104?

Push
  • 101

1 Answers1

0

To find out what nvidia driver is installed, run the following command:

dpkg -l | grep nvidia

To purge the driver (nvidia-340 for example) run the following command:

sudo apt-get purge nvidia-340

To install version 331.89 run the following command or skip this command and install the ppa for version 331.104:

sudo apt-get install nvidia-331

Save any unsaved files before you begin.

To install version 331.104 go to this website http://www.nvidia.com/content/DriverDownload-March2009/confirmation.php?url=/XFree86/Linux-x86_64/331.104/NVIDIA-Linux-x86_64-331.104.run&lang=us&type=geforcem

Click to agree to the terms and conditions and download the file to your home folder (~/). Then, press Ctrl + Alt + F2 login with your username and password and execute the following command:

sudo service lightdm stop

If you use GDM, type this command instead:

sudo service gdm stop

Then run the following commands:

sudo apt-get update
sudo apt-get install dkms gcc build-essential linux-headers-generic linux-headers-`uname -r` linux-source
sudo chmod +x NVIDIA-Linux-x86_64-331.104.run
sudo ./NVIDIA-Linux-x86_64-331.104.run

Follow the instructions and reboot when you are done.

mchid
  • 44,904
  • 8
  • 102
  • 162