How To Install The Latest Nvidia Drivers In Ubuntu Via PPA 2/2

Categories:  Linux, Ubuntu
Labels:  OS, driver, install

Install Nvidia Drivers in Ubuntu 15.04 (tested on xubuntu 16.04 LTS and works for me)

nvidiafx5200

Lets remove first everything that point to any existing nvidia installation.

$ lspci -v example output:

lspci-nvidiacard

Open a terminal ctrr+alt+t and type:

   sudo apt-get remove nvidia*
   sudo apt-get autoremove

update and download a few tools that we will need:

   sudo apt-get update
   sudo apt-get install dkms build-essential linux-headers-generic

Now its time to blacklist the nouveau driver.

   sudo nano /etc/modprobe.d/blacklist-nouveau.conf

And add the following lines:

blacklist nouveau
blacklist lbm-nouveau
options nouveau modeset=0
alias nouveau off
alias lbm-nouveau off

Disable the Kernel nouveau by typing the following commands:

   echo options nouveau modeset=0 | sudo tee -a /etc/modprobe.d/nouveau-kms.conf
   sudo update-initramfs -u

Now go to nvidia.com and download the driver for your graphic card.

The file name should be something like that “NVIDIA-Linux-x86_64-352.21.run” depends on the architecture of your machine and the version of the driver. Or install in Ubuntu Via PPA instructions in previous page.

Sources