How to Install Latest Nvidia Driver on Ubuntu / Linux?

Tutorial and Hacking. All Tutorial and hacked are for educational purpose only.
User avatar
Princess Anna
Posts: 28
Joined: Fri Feb 03, 2017 2:40 pm

How to Install Latest Nvidia Driver on Ubuntu / Linux?

Fri Jun 14, 2019 2:16 pm

Now enable the graphics-drivers PPA to your system. Currently, it supports Ubuntu 18.10, 18.04 LTS, 16.04 LTS, and 14.04 LTS operating systems. Keep in mind that its still under testing phase.
$ 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
Remove Old Nvidia Driver
he 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*

Return to “KALI Linux”