> ## Content Index
> Fetch the complete content index at: https://itsfoss.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# How to Install Nvidia Drivers on Fedora Linux
- URL: https://itsfoss.com/install-nvidia-drivers-fedora/
- Published: 2020-06-02T13:51:09.000Z
- Updated: 2025-04-11T07:08:07.000Z
- Description: Install NVIDIA drivers on Fedora, the hassle free way.
- Author: John Paul Wohlscheid
- Tags: Tutorial, Fedora

Like most Linux distributions, [Fedora](https://getfedora.org/?ref=itsfoss.com) does not come with the proprietary [Nvidia](https://www.nvidia.com/en-us/?ref=itsfoss.com) drivers installed by default.

The default open source [Nouveau driver](https://en.wikipedia.org/wiki/Nouveau%5F%28software%29?ref=itsfoss.com) works in most situations, but you may encounter issues like screen tearing and some stutters.

![Fedora with Nouveau driver](https://itsfoss.com/content/images/wordpress/2020/05/fedora-nouveau-800x500.jpg)

Display issue in Fedora with Nouveau graphics driver

If you encounter such graphics/video issues, you may want to install the official proprietary Nvidia drivers in Fedora. Let me show you how to do that.

## Installing Nvidia drivers in Fedora

I am using **Fedora 39** in this tutorial, but it should be applicable to other Fedora versions.

### Step 1

Before you do anything else, make sure that your system is up-to-date. You can either use the Software Center or use the following command in the terminal:

```
 sudo dnf update
```

### Step 2

While Fedora does not ship with the Nvidia driver, you have the option to **enable third-party repositories** during its installation onboarding steps.

If you have not enabled it during setup, you can head to GNOME Software and head to manage the “**Software Repositories**”from the menu to proceed to enable the RPM Fusion repository for NVIDIA drivers.

![RPM fusion for NVIDIA driver](https://itsfoss.com/content/images/2023/11/nvidia-rpm-fusion.png)

Of course, you can manually [add the RPMFusion repos to your Fedora system](https://itsfoss.com/fedora-third-party-repos/) to install more programs like VLC or additional multimedia codecs as well.

For that, you can use the following command in the terminal:

```
sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
```

### Step 3

Now you need to determine [what graphics card (or chip) you have in your Linux system](https://itsfoss.com/check-graphics-card-linux/). Pull up the terminal and enter the following command:

```
lspci -vnn | grep VGA
```

![Video Card Lookup Fedora](https://itsfoss.com/content/images/2023/11/nvidia-graphics-card.png)

Video Card Lookup in Fedora

### Step 4

🚧

If you have Legacy NVIDIA GeForce 600/700, 400/500 or 8/9/200/300, please refer to the legacy driver method in later section of this tutorial.

To proceed to install the latest NVIDIA graphics driver available in the RPM Fusion repo for the Fedora version you are using, enter the following command in the terminal:

```
sudo dnf install akmod-nvidia
```

![installing nvidia driver via the terminal](https://itsfoss.com/content/images/2023/11/install-nvidia-driver.png)

Once you confirm it by hitting "y", it will download the packages and again ask for another confirmation. Approve it to proceed installing.

![](https://itsfoss.com/content/images/2023/11/finalize-installing-nvidia-drivers.png)

Optionally, you can enable CUDA support for the driver, which lets you check the stats for your NVIDIA card from the terminal using **nvidia-smi**:

![nvidia smi](https://itsfoss.com/content/images/2023/11/nvidia-smi.png)

The command for it is:

```
sudo dnf install xorg-x11-drv-nvidia-cuda

```

### Step 5

To make the changes take effect, reboot your system and login.

![Fedora with Nvidia driver](https://itsfoss.com/content/images/2023/11/fedora-39-homescreen.png)

Fedora with Nvidia drivers

## For Legacy Graphics Card

You can look up what driver corresponds to a specific chip. You can find a list of the Nvidia chips [here](https://us.download.nvidia.com/XFree86/Linux-x86/367.57/README/supportedchips.html?ref=itsfoss.com). Furthermore, you can also use [this tool](https://www.nvidia.com/Download/index.aspx?lang=en-us&ref=itsfoss.com) to search for your device.

📋

Keep in mind that there are only three drivers available to install, even though the Nvidia list shows more. Old devices are supported by the nvidia-390 and nvidia-340 drivers.

To install the required driver, you have to correctly choose your Nvidia graphics version.

For Legacy GeForce 600/700:

```
sudo dnf install xorg-x11-drv-nvidia-470xx akmod-nvidia-470xx
```

For Legacy GeForce 400/500:

```
sudo dnf install xorg-x11-drv-nvidia-390xx akmod-nvidia-390xx
```

For Legacy GeForce 8/9/200/300:

```
sudo dnf install xorg-x11-drv-nvidia-340xx akmod-nvidia-340xx
```

![Nvidia terminal installation](https://itsfoss.com/content/images/wordpress/2020/05/nvidia-cli-install-800x500.png)

Nvidia terminal installation

## Bonus Tip

This is an optional step but it is recommended. When you add the RPMFusion repos, you get access to multimedia packages that are not available in the regular repos.

This command will install packages for applications that use [gstreamer](https://en.wikipedia.org/wiki/GStreamer?ref=itsfoss.com):

```
sudo dnf groupupdate multimedia --setop="install_weak_deps=False" --exclude=PackageKit-gstreamer-plugin
```

This command will install packages needed by sound and video packages:

```
sudo dnf groupupdate sound-and-video
```

Hopefully, you find this tutorial useful in installing Nvidia drivers on Fedora. What other Fedora tutorials would you like to see on It’s FOSS?