First, check your NVIDIA graphics card type and model recommended by the driver. Enter the following at the command line:
$ ubuntu-drivers devices == /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 == modalias : pci:v000010DEd00001180sv00001458sd0000353Cbc03sc00i00 vendor : NVIDIA Corporation model : GK104 [GeForce GTX 680] driver : nvidia-304 - distro non-free driver : nvidia-340 - distro non-free driver : nvidia-384 - distro non-free recommended driver : xserver-xorg-video-nouveau - distro free builtin == cpu-microcode.py == driver : intel-microcode - distro free
You can see from the output, the current system is connected Nvidia GeFrand GTX 680 graphics card driver is recommended to install nvidia-384 version of the driver. If you agree with this suggestion, use the command again Ubuntu drivers to install all the recommended drivers.
Enter the following command:
$ sudo Ubuntu-the AutoInstall the Drivers
Once installation is complete, restart the system, you're done.