Install Proprietary Nvidia GPU Drivers on Ubuntu 16.04 / 17.10 / 18.04

Linux, including Ubuntu is rapidly being installed on advanced computers with proprietary graphic cards and drivers to support them… If you currently own a Ubuntu computer with Nvidia graphics installed, you’re in luck, because you can now get fresh drivers from upstream, currently shipping Nvidia cards.

This brief tutorial is going to show students and new users how to install Nvidia official PPA repository to always get the latest drivers for your Nvidia graphics cards for your Ubuntu machines..

The current official release: `nvidia-387` (387.34) and the current long-lived branch release: `nvidia-384` (384.98)

Specific graphics cards should use the list below:

For G8x, G9x and GT2xx GPUs use `nvidia-340` (340.104)
For NV4x and G7x GPUs use `nvidia-304` (304.137)

When you’re ready to install the PPA and drivers, continue below;

Step 1: Add the Official Nvidia PPA to Ubuntu

To add the drivers repository to Ubuntu, run the commands below:

sudo add-apt-repository ppa:graphics-drivers/ppa

When you run the commands above, you should get a prompt to accept the repository signing key as well.. accept and continue installing the PPA…

Step 2: Update and Install Nvidia Drivers

Now that the PPA is installed, run the commands below to install the current latest drivers for your system.

sudo apt update
sudo apt install nvidia-387

After installing the drivers above reboot your system for the new drivers to be enabled on the systems..

Step 3: Install Cards Specific Drivers

If you want to install the drivers for the specific cards installed on your systems, use the list below:

For G8x, G9x and GT2xx GPUs use `nvidia-340` (340.104)
For NV4x and G7x GPUs use `nvidia-304` (304.137)

Reboot after installing as well

For support timeframe for these cards, see the official page below.

Also, once logged back in, you may want to open Software & Updates under System Settings and go to Additional Drivers tab, select the required driver version and click “Apply Changes”.

This how you install Nvidia GPUs drivers for computers with Nvidia cards installed.


You may also like the post below:

Install Lighttpd HTTP Server on Ubuntu 16.04 LTS with MariaDB and PHP 7.1 Support