Installing Nvidia Drivers on Fedora 34

I used the following method to successfully install Nvidia driver on Fedora 34

1. Enable RPM Fusion (Free and Non-Free Repositories)

Free repository:

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

Nonfree repository:

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

sudo dnf -y update

2. Install Nvidia Driver and Cuda Support

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

3. Reboot the system
sudo reboot

kmod-nvidia is for redhat centos etc. systems
fedora uses akmod-nvidia

1 Like

Please use this NVIDIA Auto Installer for Fedora now works with Fedora 34.