How to Install Nvidia Drivers on Ubuntu Linux – Over the years, Nvidia has provided high-quality drivers for Linux for their products, and these drivers perform just as well as Windows. While AMD has become competitive in the Linux market, Nvidia can still be a great choice.
However, if you are using Linux and your VGA Card is an Nvidia product, you cannot use an Nvidia card until you know how to install Nvidia drivers on Linux. Fortunately, getting the latest drivers for setting up your Nvidia VGA Card in Ubuntu is very easy. And here’s an easy way to install Nvidia drivers on Ubuntu linux.
How to Install Nvidia Drivers on Ubuntu Linux
1. Before you begin, you must know which drivers to install. If you have one of the newest Nvidia VGA Cards, then that’s pretty easy. Just use the highest version number available. For VGA cards that are older than the GTX 600 series, you can look in advance for Nvidia driver reference.
2. Open the page Ubuntu Graphics PPA, and scroll down. Check the version number, and find the latest number compatible with your VGA Card.
3. Open a new terminal. Type the following command to add the Ubuntu Graphics PPA to your system:
$ sudo add-apt-repository ppa:graphics-drivers/ppa
Even though it’s a PPA, it’s maintained by actual Ubuntu developers, so there’s no need to worry about quality. The PPA also receives frequent updates, meaning that you will always have the latest drivers for Ubuntu.
4. Use the following command to update Apt to refresh your repository list. Apt needs to know about the PPA you are adding before using it.
$ sudo apt update
5. You are now ready to install the driver. You will also want to install Nvidia Setting Manager Linux, so run the following command in your terminal window, substituting the version number you wish to install.
$ sudo apt install nvidia-graphics-drivers-415 nvidia-settings vulkan
Only add “vulkan” to the end if you want support for the latest graphics APIs for Linux. Vulkan is the Linux equivalent of DirextX 12, and is even used to run DX12 games from Windows via Wine.
6. Before you can start using the driver, you will need to configure it as well. In your terminal, run the following command to use the Nvidia utility and set up your basic configuration:
$ sudo nvidia-xconfig
Your computer will read this configuration file when you start applying the different graphics preferences that you define.
7. Restart your computer. That’s the only way to load drivers, so go ahead and do that now.
8. When your computer restarts, you may notice some changes, and possibly a better desktop resolution. Everything may not be perfect, but that’s where the setup utility you install can be configured.
9. Run the setup utility with admin rights by opening your terminal and running the command below to open settings: Read → How to Create a Sudo User and a Sudo Group on Ubuntu.
$ sudo nvidia-settings
10. A window will open, allowing you to make changes to your configuration.
11. When you first see the Nvidia X Server Settings window, the tab you will see will display some information about your graphic VGA Card, your driver version, and your system. Take a look, and see if everything looks right.
12. Other settings are entirely up to you. Configuring an X Server Display is an interesting thing for most people. This is where you can configure your monitor, adjust the resolution, refresh rate, and positioning.
Whichever option you choose, be sure to select “Save to X Configurations File” before you exit to apply your changes to the configuration file you created earlier and make them permanent on your system.
13. Now you are ready to enjoy Nvidia drivers on Ubuntu. You will continue to receive regular driver updates from the PPA, which means your system will never go out of style.
And that’s the easy step by step for how to install Nvidia drivers on Ubuntu Linux, I hope this article is useful for you and good luck. 🙂