The latest Nvidia drivers are available on graphics-drivers PPA. This repository provides the latest drivers for your Ubuntu Desktop systems. This tutorial will help you to install the latest Nvidia drivers for your Ubuntu desktop using PPA.
Remove Old Nvidia Driver
The first step is to purge currently installed Nvidia drivers so that it does not conflict with the newer versions on your Ubuntu systems.
sudo apt-get purge nvidia*
Install Latest Nvidia Driver on Ubuntu
Now enable the
sudo add-apt-repository ppa:graphics-drivers/ppa sudo apt update
Next, identify the installed graphics card model and recommended driver for that by running the following command:
ubuntu-drivers devices | grep "nvidia-driver" driver : nvidia-driver-390 - third-party free driver : nvidia-driver-415 - third-party free recommended driver : nvidia-driver-396 - third-party free
Then execute the below command to install recommended Nvidia graphics driver on your system.
sudo apt install nvidia-415
Verify Nvidia Driver
After installation reboot your system, So that your desktop load the new Nvidia driver. Now run below command to check Nvidia module.
lsmod | grep nvidia