• Home
  • Ubuntu 20.04
    • Upgrade Ubuntu
    • Install Java
    • Install Node.js
    • Install Docker
    • Install LAMP Stack
  • Tutorials
    • AWS
    • Shell Scripting
    • Docker
    • Git
    • MongoDB
  • Funny Tools
  • FeedBack
  • Submit Article
  • About Us
TecAdmin
Menu
  • Home
  • Ubuntu 20.04
    • Upgrade Ubuntu
    • Install Java
    • Install Node.js
    • Install Docker
    • Install LAMP Stack
  • Tutorials
    • AWS
    • Shell Scripting
    • Docker
    • Git
    • MongoDB
  • Funny Tools
  • FeedBack
  • Submit Article
  • About Us

How to Install Latest Nvidia Drivers on Ubuntu

Written by Rahul, Updated on December 28, 2018

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 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

Share it!
Share on Facebook
Share on Twitter
Share on LinkedIn
Share on Reddit
Share on Tumblr
Share on Whatsapp
Rahul
Rahul
Connect on Facebook Connect on Twitter

I, Rahul Kumar am the founder and chief editor of TecAdmin.net. I am a Red Hat Certified Engineer (RHCE) and working as an IT professional since 2009..

10 Comments

  1. Avatar Gert Kruger Reply
    May 23, 2019 at 12:22 pm

    I have a NVIDIA Corporation GP107 [GeForce GTX 1050] card and ubuntu 19.04 installed (18.10 gave the same issue). I tried many proposed solutions, including the one above. Nothing worked.

    I finally found a solution for this Nvidia driver issue (on ubuntu 18 and 19). See instructions at the top at https://ubuntuforums.org/showthread…nvidia+drivers, it worked for me!

  2. Avatar Ayouaz Reply
    February 19, 2019 at 8:52 am

    $ sudo apt install nvidia-driver-415
    it works fine

  3. Avatar macdogdaddy Reply
    February 5, 2019 at 2:02 am

    Worked for me, thanks Rahul.

  4. Avatar Mike Shaw Reply
    June 10, 2018 at 6:24 pm

    Seems to be broken:

    $ sudo add-apt-repository ppa:graphics-drivers/ppa
    Cannot add PPA: ‘ppa:~graphics-drivers/ubuntu/ppa’.
    ERROR: ‘~graphics-drivers’ user or team does not exist.
    $

    • Rahul Rahul K. Reply
      June 18, 2018 at 7:22 am

      What OS version are you running?

  5. Avatar Rob Marsden Reply
    March 4, 2018 at 11:45 am

    I have the same problem as Julien.
    My system is for AI development
    OS Ubuntu 16.04 LTS
    Hardware is
    Mobo Asus X99-WS/IMPI + Xeon on board VGA active
    1 off Titan Xp
    I got to the reboot point. It cam up and asked for password, as expected. Accepted it then looped back to ask
    for password ad infinitum. Ctrl+Alt+F2 gives me a login, which works. So there is “somebody working in the cellar”.
    Rob

    • Avatar Samuel Reply
      March 21, 2018 at 10:56 am

      Hi Rob,

      I’m having the same problem as you, also on Ubuntu 16.04.
      Did you manage to find a solution?
      I’d really appreciate it if you could point me in the right direction.
      Kind regards

  6. Avatar mn Reply
    February 22, 2018 at 7:05 pm

    Thanks for the post.
    The question is what about having more than one nvidia card? For example, a quadro with version X and a GeForce with version Y.

  7. Avatar melih ozman Reply
    February 16, 2018 at 4:16 am

    thanks Rahul…

  8. Avatar Julien Reply
    February 9, 2018 at 8:27 am

    I’ve completed step 1 & step 2.
    I restarted the system.

    It starts loading, I see Ubuntu written on the screen, then BLACK SCREEN… and nothing happens….

    Did I do something wrong?

    My system is: (for mining purposes)
    OS: Ubuntu 16.04 LTS
    Mobo: Gigabyte GA-H110-D3A
    3 nvidia 1080-ti

    Now I have to reinstall the whole thing…
    Is there an other way around?

    Still, thank you for the tutorial, I’ve been having a lot of trouble to find how to update the drivers….

    I’ll retry while having only one card plugged. and my fingers crossed !

Leave a Reply Cancel reply

Popular Posts

  • How To Install Python 3.9 on Debian 10
  • Download Ubuntu 20.04 LTS – DVD ISO Images
  • Linux Run Commands As Another User
  • How to Check PHP Version (Apache/Nginx/CLI)
  • How To Install and Configure GitLab on Ubuntu 20.04
  • How to Install PyCharm on Ubuntu 20.04
  • How to Check Ubuntu Version with Command or Script
  • How to Set all directories to 755 And all files to 644
© 2013-2021 Tecadmin.net. All Rights Reserved | Terms  | Privacy Policy