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)
https://docs.fedoraproject.org/en-US/quick-docs/setup_rpmfusion/

Free repository:

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

Nonfree repository:

sudo dnf install https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(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.