Ubuntu Linux Install Nvidia Driver (Latest Proprietary Driver)

To install the latest proprietary Nvidia driver on Ubuntu 18.04 LTS, you can use the following steps:

  1. Open a terminal window by pressing Ctrl + Alt + T.
  2. Stop the X server by running the command: sudo service lightdm stop
  3. Install the necessary dependencies by running the command: sudo apt-get install build-essential dkms
  4. Download the latest Nvidia driver from the official website.
  5. Change to the directory where the driver package is located using the command cd /path/to/driver
  6. Make the package executable by running the command sudo chmod +x NVIDIA-Linux-x86_64-XXX.XX.run (replace XXX.XX with the version number of the driver you downloaded)
  7. Run the package with the command sudo ./NVIDIA-Linux-x86_64-XXX.XX.run
  8. Follow the on-screen instructions to complete the installation process.
  9. Restart the X server by running the command: sudo service lightdm start
  10. Verify that the Nvidia driver is installed and working correctly by running the command nvidia-smi

Note: It’s recommended to backup your current driver before upgrade the new one. Also, using the latest version of the driver may require the latest version of the kernel.

Leave a Comment