Upgrading to the latest version of the proprietary Nvidia drivers in Ubuntu was pretty complicated a while back. You would either have to use the official Linux installer, which was not always reliable, at least for me, or use a bleeding edge PPA, like the Xorg Edgers PPA, which would upgrade multiple packages, most of which were unstable.
That's no longer the case thanks to the Proprietary GPU Drivers PPA, which offers stable proprietary Nvidia graphics driver updates, without updating other libraries to unstable versions (some libraries may still be updated using this PPA, if they are needed by the drivers, but there's nothing unstable in the PPA).
Despite its name, the PPA only provides proprietary Nvidia graphics drivers updates, with no support for AMD or Intel.
Even though the PPA is probably the most stable way of upgrading to the latest proprietary Nvidia drivers version in Ubuntu, it’s still considered in testing. That means issues may still occur (though I didn’t encounter any and I’ve been using it for some time), so you should only use this PPA if you have experience with recovering your system from a failed graphics driver upgrade.
I should also mention that the PPA provides packages for all supported Ubuntu versions (16.10, 16.04, 15.10, 14.04 and 12.04). At the time I’m writing this article, the PPA provides the latest long lived branch version (367.27) of the Nvidia graphics drivers for Ubuntu 16.10 and 16.04 and the latest short lived branch version (364.19) for Ubuntu 15.10, 14.04 and 12.04.
You can check the latest Nvidia Linux graphics drivers version by visiting THIS page.
Before proceeding, please read the PPA description!
To add the Proprietary GPU Drivers PPA in Ubuntu and update the software sources, use the following commands:
$ sudo add-apt-repository ppa:graphics-drivers/ppa $ sudo apt update
From System Settings or directly from the menu / Dash, open Software & Updates, click on the “Additional Drivers” tab, select the driver you want to use, and click “Apply changes”:
After the driver is downloaded and installed, restart your system. That’s it!
You can also install the latest drivers using Synaptic or from the command line. To see the available versions, you can use:
$ apt-cache search nvidia $ apt search nvidia
And look for the packages called “nvidia-VERSION”, for instance “nvidia-367” for the latest 367.27 graphics drivers, and install it (“sudo apt install nvidia-VERSION”).
$ sudo apt-get update $ sudo apt install nvidia-VERSION
or if it not working try:
$ sudo apt-add-repository ppa:ubuntu-x-swat/x-updates $ sudo apt-get update $ sudo apt-get install nvidia-current
If screen goes to black (frequency out of rate) in old CRT’s reboot in recovery mode, and try the next page instructions to remove nvidiafb, nouveau because “this appearly causes conflicts” before to reinstall nvidia drivers. This works for me in Xubuntu 16.04 LTS with lightdm sesion manager. :)