Move to Linux
Browse guides

Fedora

NVIDIA

Install NVIDIA drivers on Fedora using RPM Fusion.

Check your graphics card

These steps are for GeForce GTX 16 series and RTX 20, 30, 40, and 50 series cards, using RPM Fusion’s current NVIDIA driver.

GTX 900 and GTX 10 series cards need an older driver branch. Follow RPM Fusion’s NVIDIA guide (opens in a new tab) for those cards instead.

Before you start

Follow our RPM Fusion setup guide to enable both Free and Nonfree, then come back here.

These commands are for Fedora editions that use DNF, such as Workstation and KDE Plasma Desktop.

Update Fedora first

sh
sudo dnf update -y

Wait for the update to finish, then restart your computer before continuing. This makes sure you’re using the latest installed kernel.

Install the driver

sh
sudo dnf install akmod-nvidia

This installs the driver and builds the part it needs for your kernel.

Optional: extra video and CUDA support

For hardware video encoding and decoding, or apps that need CUDA, install:

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

Wait before restarting

The driver can still be building after DNF finishes. Give it up to five minutes, then check:

sh
modinfo -F version nvidia

If you see a driver version number, the build is ready. Restart your computer to start using the driver.

If it says Module nvidia not found, wait a little longer and run the command again. If it still isn’t ready, follow RPM Fusion’s NVIDIA guide (opens in a new tab) before restarting.

Last updated