Nvidia drivers are essential for anyone who wants to use their Nvidia graphics card to its full potential. Ubuntu is a popular Linux distribution, and in this guide, we will show you how to install Nvidia drivers on Ubuntu.
Prerequisites
Before we proceed with the installation process, ensure that you have the following prerequisites:
- Ubuntu installed on your system
- A working internet connection
- An Nvidia graphics card
Step 1: Check Your Nvidia Card Model
Before downloading the Nvidia drivers, you need to know your graphics card’s model. To check your Nvidia graphics card model, open the terminal and type the following command:
lspci | grep -i nvidia
This command will list all the Nvidia graphics cards installed on your system.
Step 2: Add the Graphics Drivers PPA
Ubuntu provides a Graphics Drivers PPA that makes it easy to install the latest Nvidia drivers. To add the Graphics Drivers PPA, open the terminal and type the following command:
sudo add-apt-repository ppa:graphics-drivers/ppa
Enter your password when prompted, and press Enter to continue.
Step 3: Update the Package List
After adding the PPA, update the package list using the following command:
sudo apt update
Step 4: Install the Nvidia Drivers
Now that you have added the Graphics Drivers PPA and updated the package list, you can install the Nvidia drivers using the following command:
sudo apt install nvidia-driver-<version>
Replace <version>
with the version of the Nvidia driver you want to install. For example, if you want to install version 460, use the following command:
sudo apt install nvidia-driver-460
Step 5: Reboot Your System
After installing the Nvidia drivers, it is essential to reboot your system to apply the changes. To reboot your system, type the following command:
sudo reboot
Step 6: Verify the Installation
After rebooting your system, you can verify the Nvidia driver installation using the following command:
nvidia-smi
If the Nvidia driver is installed correctly, you will see the Nvidia system management interface.
Conclusion
In this guide, we have shown you how to install Nvidia drivers on Ubuntu. Nvidia drivers are essential for anyone who wants to use their Nvidia graphics card to its full potential. We hope this guide has been helpful, and you can now install Nvidia drivers on your Ubuntu system with ease.