How to Install NVIDIA Drivers on Linux


NVIDIA has always been one of the best GPU creators in the market. I personally love NVIDIA for their ultra-optimized products and software that makes gaming a lot easier. If you’re an NVIDIA user, you already know what I mean. For those who are running Linux as their operating system, installing the NVIDIA driver is a must to get the most out of the hardware. Let’s take a look how to install NVIDIA drivers on your Linux distro.

The best option

Depending on your Linux distro, there can be different methods to install the latest NVIDIA driver on your system. However, this is the easiest method of all and offers compatibility with almost all the major Linux systems.

  • Now, open a Terminal (CTRL + Alt + X) and run the following commands:

Now, the NVIDIA driver should be installed properly.

Arch Linux

Installing NVIDIA drivers on Arch Linux is quite simple and easy. Open a terminal & run this command:

After completing, run the following command to install the latest 32-bit version of the driver (IMPORTANT for playing Steam games).

Now, enable a “persistence” systemd service so that the latest driver works smoothly. Start the opened file with


Installing NVIDIA GPU driver on Fedora can follow many paths, so here’s the shortest and easiest method of all.

  • Open a terminal and run the command:

  • Now, you need to add the following repository inside Fedora’s list. Run this command:

  • Open Software Center, search for “NVIDIA Linux Graphics Driver” and install it.


Ubuntu + Ubuntu-based distros

Ubuntu doesn’t have NVIDIA driver in their default software collection. You have to add it by adding a repository.

  • Open a terminal and run the following commands:

  • When the process is complete, run this line to install the latest NVIDIA driver.

Take a note that the latest version, at present, is 390. Depending on the latest release, the number will change. If you’re confused, follow the first method described.


If you’re a Debian user, you already know how things work in here. The latest driver isn’t available through the Stable branch. To obtain the latest one, you have to switch towards Unstable branch.

  • Open a terminal.
  • Run this command:

  • In the file, change every “stable”, “wheezy” and other Debian release names to “unstable”. For example, here’s a modified line of the file:

Make as many changes available.

  • Save the file by pressing CTRL + O.
  • Run these commands in the terminal:

  • Install “aptitude”. It makes drivers easier to install.

  • Run these commands to complete the installation process.

  • Reboot your system.


For enterprise Linux, OpenSUSE is the best free option. Installing NVIDIA driver on OpenSUSE is a bit difficult task, but not impossible. Just follow the steps properly.

  • Leap edition

Remove the package “drm-kmp-default”. It usually conflicts with NVIDIA packages. Run the command in the terminal:

Add NVIDIA driver repository.

Install the driver.

  • Tumbleweed edition

    • Run the following commands:

After installation is complete, don’t forget to restart your system.

If you’re interested, you can try out some of the best alternatives of LibreOffice.

Spread the love
  • 12

PS. If you like this post please share it with your friends on the social networks using the buttons above.Thanks.


Please enter your comment!
Please enter your name here