For these purposes, Ubuntu comes with a unique command called ubuntu-drivers to manage binary drivers for NVidia and other devices. We can also change drivers without the use of the X GUI/Windows desktop. Related: Top 7 Linux GPU Monitoring and Diagnostic Commands Line Tools A note about ubuntu-drivers command-line method # 3 If you wish to save settings start it as follows: Open the terminal and type the following commands: This is useful to see all GPU info or configure multiple external screen/monitors connected to your system. The nvidia-settings command start a GUI tool for configuring the NVIDIA graphics driver. $ nvidia-smi -query-gpu=driver_version -format=csvĥ15.65.01 How do I configure the NVIDIA graphics driver?
Here is how to find or check your nvidia driver version on Linux: You can see running apps on your GPU and GPU temperature. The nvidia-smi command line utility provides monitoring and management capabilities for each of NVIDIA’s Tesla, Quadro, GRID and GeForce devices from Fermi and higher architecture families.
Open the terminal application and type nvidia-smi to see GPU info and process that are using Nvidia GPU: Reboot the Linux with help of either reboot or shutdown command: $ sudo apt install nvidia-driver-510 nvidia-dkms-510 We can install that one as follows on Ubuntu Linux 20.04 LTS: $ sudo apt install nvidia-driver-390 nvidia-dkms-390Īt this time, the latest tested proprietary drive version is 510. Let us install the nvidia-driver-390 package:
$ sudo apt upgrade Installing NVIDIA drivers on Ubuntu Nvidia-dkms- 460-server - Transitional package for nvidia-dkms- 470-server Updating and installing all security and important updates on Ubuntuĭo not skip the following two commands as you must apply all pending security updates: Nvidia-dkms- 440-server - Transitional package for nvidia-dkms- 450-server Nvidia-dkms- 418-server - NVIDIA DKMS package Nvidia-dkms- 515-server - NVIDIA DKMS package Nvidia-dkms- 510-server - NVIDIA DKMS package Nvidia-dkms- 495 - Transitional package for nvidia-dkms- 510 Nvidia-dkms- 470-server - NVIDIA DKMS package Nvidia-dkms- 465 - Transitional package for nvidia-dkms- 470 Nvidia-dkms- 460 - Transitional package for nvidia-dkms- 470 Nvidia-dkms- 455 - Transitional package for nvidia-dkms- 460 Nvidia-dkms- 450-server - NVIDIA DKMS package Nvidia-dkms- 450 - Transitional package for nvidia-dkms- 460 Nvidia-dkms- 440 - Transitional package for nvidia-dkms- 450 Nvidia-dkms- 435 - Transitional package for nvidia-dkms- 455 Nvidia-dkms- 430 - Transitional package for nvidia-dkms- 440 Nvidia-dkms- 418 - Transitional package for nvidia-dkms- 430
Here is how to list all nvidia driver version on your Ubuntu machine using the combination of the apt-cache command and egrep command/ grep command: OR use the apt-cache command to search package: Open the termial application and search for nvidia drivers using the apt command or apt-get command: Ubuntu Install Nvidia driver using the CLI method # 2
Now skip to the driver verification step.
You must reboot Ubuntu Linux computer to use the driver by typing the following shutdown command: You must wait for some time as Nvidia driver downloaded and installed from the internet:Ĭlick on the Close button when done. You must authenticate yourself to install Nvidia driver on Ubuntu Linux. Press the Super key (Windows key) and type the following in search box:Ĭhoose nvidia-driver-460 (proprietary, tested) and click on the Apply Changes button. Installing Nvidia driver using GUI method # 1 on Ubuntu Linux The following instructions might fail if you are using a custom build Linux kernel on Ubuntu Linux, as it heavily depends upon a specific version of your distro. If you followed the tutorial from any other sources, make sure you remove NVIDIA driver and undo whatever you did. I have observed broken systems if you mixed various methods on the same system. If you use a GUI or apt CLI method, do not try other commands. See “ Linux Find Out Graphics Card Installed In My System” for more info. You must have Nvidia GPU card detected by your system.
Type the hwinfo command/lshw command to find out info about your GPU Naturally, you can only install Nvidia driver if you have Nvidia GPU in your system. Let us see all commands and step-by-step instructions in details.
Update your system running apt-get command.The procedure to install proprietary Nvidia GPU Drivers on Ubuntu 16.04 / 17.10 / 18.04 / 18.10 / 20.04 / 22.04 LTS is as follows: