0

I have a GeForce GTX 620, and I can't install the proprietary graphics driver in Ubuntu 18.04. I tried downloading and installing the drivers from the NVIDIA website and through the terminal.

karel
  • 122,292
  • 133
  • 301
  • 332

1 Answers1

0
  1. Remove all the nvidia packages.

    sudo apt update
    sudo apt-get remove '^nvidia'
    sudo apt autoremove
    
  2. If you have added an Nvidia PPA to /etc/apt/sources.list remove that PPA by prefacing its line in sources.list with a # to comment it out. Run sudo apt update to refresh the list of available software.

  3. Reboot with sudo reboot

  4. Run the following command to install the correct proprietary Nvidia driver.

    sudo ubuntu-drivers install && sudo reboot  
    

    The sudo ubuntu-drivers install command installs drivers that are appropriate for automatic installation including their dependencies.

karel
  • 122,292
  • 133
  • 301
  • 332