How To Install Nvidia Drivers in Ubuntu?
You can install Nvidia drivers in Ubuntu in two ways; using the Command Line Interface (CLI) method or Graphical User Interface (GUI) method. Before installing the Nvidia drivers, check the system requirements. Your system needs to have a CUDA-capable GPU, should run a supported version of Linux, requires the build tools such as make, gcc to be installed, and should have appropriate Linux kernel headers.
Carry out these steps to install the Nvidia drivers using the GUI method:
- First, identify your Nvidia VGA card using the “lshw -numeric -c display” command in the Terminal window.
- Alternatively, you can use the “hwinfo –gfxcard –short” command.
- Update your Ubuntu to the latest version using the “apt-get” command.
- Open the default browser and download the compatible Nvidia driver from the official Nvidia site.
- After downloading the Nvidia driver for your Nvidia graphic card, save the downloaded file into your home directory.
- You can also install the driver from the Software ad Updates app.
- Press the Windows key or Super key and type “update-manager” in the search panel.
- Click the Software Updater icon and select the Settings button.
- In the Software & Updates window, click the Additional Drivers tab and select the “Using Nvidia driver metapackage from Nvidia-driver-390 (proprietory, tested)” radio button.
- Next, click the Apply Changes button at the bottom-right corner of the screen.
- Wait until the Nvidia driver installation is complete and click the Close button.
- Now, open the Terminal app and use the “sudo reboot” command to restart your Ubuntu.
Carry out these steps to install Nvidia driver in Ubuntu using the CLI method:
- Open the Terminal app and type the “apt” or “apt-get” command to search for the Nvidia drivers.
- Type the “apt search nvidia-driver” command and press the Enter key.
- Alternatively, type the “apt-cache search nvidia-driver” command to search for the Nvidia driver.
- Type the “sudo apt install nvidia-driver-390” command and press the Enter key to start installing the Nvidia driver.
- After completing the installation, restart your computer using the “sudo reboot” command.
- Next, you need to verify the installed Nvidia driver.
- After restarting the computer, open the Terminal app and type the “nvidia-smi” command to view the GPU information.
- It will process the drivers that use the Nvidia GPU.
- After verifying the installation, configure the Nvidia graphics driver in the Terminal app.
- Type the “nvidia-settings” command to open the server settings window.
- Finally, type the “sudo nvidia-settings” command to save the settings.
Click the Call button provided on this web page to get remote assistance to Install Nvidia Drivers in Ubuntu