Now the latest Nvidia driver is available on graphics driver PPA. PPA repository provides the latest drivers for the Ubuntu desktop system.
In this article I will show how to install the latest Nvidia driver on your Ubuntu desktop using PPA.
Follow the below steps to install Nvidia driver.
Step #1 : Remove Old Nvidia Driver
First of all you have to remove the installed Nvidia driver so that it does not conflict the newer version.
$ sudo apt-get purge nvidia*
Step #2 : Install Latest Nvidia Driver
Now you have to enable the graphics drivers PPA to your system. At this time it supports Ubuntu 18.04 LTS, 17.10, 17.04, 16.04 LTS, and 14.04 LTS operating systems. Please not that its still under testing phase.
$ sudo add-apt-repository ppa:graphics-drivers/ppa
Next run the below command to install Nvidia graphics driver on your system.
$ sudo apt update $ sudo apt install nvidia-390
Step #3: Verify Nvidia Driver
After successfully installation reboot your system to load new Nvidia driver for your desktop.
Now execute the below command to verify the installed Nvidia driver.
lsmod | grep nvidia