/
Install NVIDIA drivers Ubuntu 18.04

Install NVIDIA drivers Ubuntu 18.04

From fresh Ubuntu 18.04 install. I installed from '18.04.1-live-server-amd64.iso'

Step-by-step guide

These steps assume you already have the desired NVIDIA '.run' file downloaded. If you need to obtain the NVIDIA driver '.run' file, please visit this article: Reinstall NVIDIA drivers for Ubuntu 16.04


  1. apt-get -y update 
    apt-get -y upgrade
    apt-get -y dist-upgrade
  2. apt install make
    apt install gcc
  3. bash -c "echo blacklist nouveau > /etc/modprobe.d/blacklist-nvidia-nouveau.conf"
  4. bash -c "echo options nouveau modeset=0 >> /etc/modprobe.d/blacklist-nvidia-nouveau.conf"
  5. ## install dracut-core package
    apt install dracut-core
    dracut -f
    reboot
  6. init 3
  7. ## install the Nvidia driver. You may need to download it if it does not exist.  
    ## https://www.nvidia.com/Download/Find.aspx?lang=en-us
    ./NVIDIA-Linux-???_??-???.??.run
  8. reboot




Related content

Ubuntu 20.04 on OS/Scratch/Data w/ Teamviewer
Ubuntu 20.04 on OS/Scratch/Data w/ Teamviewer
Read with this
[Drivers] Ubuntu NVIDIA driver installation/re-installation
[Drivers] Ubuntu NVIDIA driver installation/re-installation
More like this
GPU Validation Test
GPU Validation Test
Read with this
[Drivers] Updating NVIDIA drivers
[Drivers] Updating NVIDIA drivers
More like this
[Drivers] Disabling nouveau CentOS 7
[Drivers] Disabling nouveau CentOS 7
More like this
Rocky Linux 8 NVIDIA Driver Installation from fresh OS install (Example)
Rocky Linux 8 NVIDIA Driver Installation from fresh OS install (Example)
More like this