How to Install NVIDIA Drivers on Fedora 37 Linux

When it comes to graphics processing, speed is often of the essence. For any Linux user who relies on their system for gaming or graphic design, having the fastest drivers possible is essential. While most modern Linux distributions come with Nouveau drivers pre-installed, these are often not the most up-to-date or well-supported drivers available. However, the Nouveau open-source graphics device driver for Nvidia video cards is typically slower than Nvidia’s proprietary or open-source driver and lacks support for the latest hardware features and software technology. In most cases, upgrading to proper NVIDIA drivers will provide a much better experience. In some situations, the improvement in speed and performance can be substantial.

The following tutorial will teach you how to install the Nvidia Drivers on Fedora 37 Linux from RPM Fusion or Nvidia RPM Cuda REPO using cli with the command line terminal.

Update Fedora

Before you begin, update your system to ensure all existing packages are up to date to avoid any conflicts, this is essential when installing drivers such as graphic card drivers and kernels, etc.

sudo dnf upgrade --refresh

Install Nvidia Drivers from Nvidia CUDA RPM

Another method for users to install Nvidia Drivers is to install the drivers directly from the CUDA repository.

At the time of this tutorial, Nvidia has not released the Fedora 37 branch, given its beta, and it generally takes a few weeks to appear after an official release. However, the Fedora 36 repository can be imported and does work given the package dependencies minimum versions meet the requirements. I have tested this personally on three different Nvidia cards and PCs, but I would recommend doing a full backup before using this method, just in case.


First, import the repository for your system.

sudo dnf config-manager --add-repo

Install required dependencies for safe measures.

sudo dnf install kernel-headers kernel-devel tar bzip2 make automake gcc gcc-c++ pciutils elfutils-libelf-devel libglvnd-opengl libglvnd-glx libglvnd-devel acpid pkgconfig dkms

Next, install the latest NVIDIA drivers using the following command.

sudo dnf module install nvidia-driver:latest-dkms

Example output:

Alternatively, you can list the modules of Nvidia RPM using the following command.

sudo dnf module list nvidia-driver

Example output:

Alternatively, you can install another module, and I suggest keeping the latest. However, as above, you can install the recently released Nvidia open-source branch for those who prefer to use this instead of the proprietary branch.

See also
How to Install NVIDIA Drivers on Linux Mint 21 or 20


sudo dnf module install nvidia-driver:open-dkms

Lastly, I would strongly suggest always using a branch that has -dkms added on, or else you may encounter issues in the future when you upgrade your system.

Install Nvidia Drivers – RPM Fusion Method

By default, like most Linux distributions, Fedora does not come with NVIDIA proprietary drivers. The best method to install these on Fedora 37 is to use the RPM fusion repository.

First, open your terminal and add the following repositories

Import RPM Fusion Free

sudo dnf install$(rpm -E %fedora).noarch.rpm

Import RPM Fusion Nonfree

sudo dnf install$(rpm -E %fedora).noarch.rpm

Once done, refresh your repository list.

sudo dnf update --refresh

Install NVIDIA Drivers

After importing the RPM Fusion repository, execute the following command to install the latest Nvidia drivers on your Fedora system.

sudo dnf install akmod-nvidia -y

Next, install the CUDA driver’s support. Ideally, you may not need this, but sometimes if issues persist, installing the CUDA support can solve problems.

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

Once everything has been installed, you must restart your Fedora system. By default, this will also disable Nouveau drivers automatically.


Optional Method – Enable RPM Fusion TESTING Branch

RPM Fusion’s testing mainly contains testing or beta packages. This can be useful for those who want to install bleeding-edge NVIDIA drivers.

First, enable the RPM Fusion Testing repository using the following command.

Enable the Free Repository

sudo dnf config-manager --set-enabled rpmfusion-free-updates-testing

Enable the Non-Free Repository

sudo dnf config-manager --set-enabled rpmfusion-nonfree-updates-testing

Once enabled, proceed to install the drivers or run an update. If new bleeding-edge drivers in a test or, more likely, beta drivers will appear here, and you can begin to update to these, remember they may be buggy, so do not be surprised.

Sometimes you may want to disable the RPM Fusion testing repository. This can be quickly done by using the following command to re-enable, use the following commands above and rinse and repeat.

Disable the Free Repository

sudo dnf config-manager --set-disabled rpmfusion-free-updates-testing

Disable the Non-Free Repository

sudo dnf config-manager --set-disabled rpmfusion-nonfree-updates-testing

Install NVIDIA Legacy Drivers

For those who upgraded Fedora and require older drivers, their graphics card is no longer supported in Nvidia’s newest driver packages. Below are some option installation drivers, do note these are often not updated as much, and security flaws could exist.

Install GeForce 600/700 NVIDIA series drivers:

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

Install GeForce 400/500 NVIDIA series drivers:

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

Install GeForce 8/9/200/300 NVIDIA series drivers:

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

How to Update Nvidia Drivers

All future updates will be in the standard dnf refresh command procedure, and this will check the RPM Fusion repository for updates and the rest of your Fedora packages.

See also
How to Install NVIDIA Drivers on Ubuntu 22.04 or 20.04

To check for updates:

sudo dnf upgrade --refresh

Verify NVIDIA Drivers Installation

Once you have returned, view the NVIDIA X Server Settings using the following path.

Activities > Show Applications > NVIDIA X Server

Alternatively, if you opened a terminal, use the following command.


Example if installation successful:

Alternatively, you can use the CLI command in your terminal. This will work with the Nvidia RPM installation method. RPM Fusion users, this may not work since it is designed for desktops in mind more than CLI.


Example if installation successful:

How to Remove Nvidia Drivers and RollBack

If you do not want to continue to use the Nvidia official drivers, use the following command.

RPM Fusion Removal Method

sudo dnf autoremove akmod-nvidia xorg-x11-drv-nvidia-cuda -y

Nvidia RPM Removal Method

sudo dnf module remove nvidia-driver:latest-dkms

This will remove all dependencies installed, and once removed, you must reboot.


During the reboot, the process will re-enable the Nouveau drivers. You will see a message stating Nvidia drivers not found re-enabling Nouveau drivers, making it easier to switch back and forth if needed.

Comments and Conclusion

If you are looking for better graphics drivers or if your system is not working well with the Nouveau driver, I suggest installing the NVIDIA proprietary drivers. It may take a bit extra work to get them set up and running correctly, but in my experience, it is worth it.

7 thoughts on “How to Install NVIDIA Drivers on Fedora 37 Linux”

  1. Hmm,
    Doesn’t work for me.
    I tried the Nvidia drivers from Nvidia Cuda and ended up with just 1 monitor working at 800 x 600. Nvidia-settings was installed but gave no info.
    I uninstalled all the above and got back to my default screens and then tried the Fusion method but whether I used free or non-free I got this error message:
    Problem: conflicting requests
    – package akmod-nvidia-3:520.56.06-1.fc37.x86_64 requires nvidia-kmod-common >= 3:520.56.06, but none of the providers can be installed
    – package xorg-x11-drv-nvidia-3:520.56.06-1.fc37.x86_64 is filtered out by modular filtering
    (try to add ‘–skip-broken’ to skip uninstallable packages)
    –skip-broken simply skipped the required file.
    I will wait a few weeks and try again

  2. Howdy, didn’t work for me either. I’m running Fedora 37 XFCE. My MSI card is a Nvidia GeForce GT 710 (128b). I’m running X11 and not Wayland. The akmod-nvidia drivers and Cuda driver’s support will install, but upon rebooting, I get a rather large three dot pause centered in a black screen, then the error message pops up “Nvidia kernel module missing. Falling back to noveau”. I have uninstalled the akmod-nvidia drivers and the cuda support, but upon rebooting, the three dot pause followed by the error message remains. The other nvidia driver (the legacy one for the 700 series) file will not install. None of the other methods work either. Interesting to note, I’m dual booting with Manjaro XFCE (current), and I got current nvidia drivers to install perfectly fine on that distro. So yeah, I’m kinda lost. Does someone have a simple fix? What does “nvidia kernel module missing” actually mean? Do I actually have to go through the hardcore kernel compiling version of installation? Or do I need to give it time for the updated install files that haven’t been released yet? How do I get my install to boot now without the three dots and the error message? Do I need to do a fresh reinstall?

    • Hi Eddie,

      For starters, you need the 470.xx, I checked your card the 520 and 525 do not support your card GeForce GT 710. If they do on Manjaro, that’s great, but I am surprised it works.

      My advice is to remove all the Nvidia drivers. Since you got the three dots, it must be installed. The three dots normally goes away after 30 seconds to 2 minutes back to the login screen when it defaults back to the nouveau drivers. This is occurring?

      Try the command below to see what is installed and remove the drivers.

      dnf list installed *nvidia*

      then you could try something like

      sudo dnf remove *nvidia*

      Also, before anything else, remove the CUDA repository which should be in /etc/yum/repos.d/ or disable it any other way you like. Also, are kernel-headers installed?

      sudo dnf install kernel-headers?

      Also try installing it once you have cleaned up the left over Nvidia drivers.

      sudo dnf install akmod-nvidia-470xx

      Sadly older cards can be tricky seems it works or becomes an issue.

  3. Ok, I got drivers to install. Here’s what I did.

    I couldn’t find any nvidia drivers or CUDA drivers, because I had removed them already, but I noticed that the nvidia settings app was still installed. It was completely void of any information in the app, so I figured it was the remaining problem. So I removed the app (“sudo dnf remove nvidia-settings”), and the three dots and error message went away.

    Then, I went ahead and did the first three cli instructions from the top of the page and came down and copy and pasted the “sudo dnf akmod-nvidia-470xx” from your message. They installed without complaint and I rebooted. Upon rebooting, I got the 3 dots initially, but it skipped the error message, and started up fine. The Nvidia settings app reinstalled, so I checked it and it’s full of info like your pic is. I rebooted again and…. no more 3 dots. The drivers are installed and working.

    I’m all good. Thank you for your assistance, sir. And thank you for the informative webpage.


Leave a Comment

Share to...