Publish Date: 18 Feb 2026 Last update: 18 Feb 2026
Introduction
Content
Before Installing the Nvidia Driver
Installing Nvidia Driver
Conclusion
Note: Please use ctrl + F to go to the topic you are interested
Didn’t the internet tell you that you should get an AMD GPU if you want to use Linux? Anyway, there are two main ways you can install a proprietary Nvidia driver for Linux. The first one, and also the simplest one, is choosing a distro that has the Nvidia driver pre-installed, such as Bazzite and Nobara. However, in this guide, I am going to show you how to install the driver in Fedora.
1. Before Installing the Nvidia Driver
The guide assumes that you have not enabled secure boot in the computer. Otherwise, you will need to type in the password for secure boot to sign the driver. Also, make sure to check the system information and update all the packages in the OS.
Step 1: Install all system updates
sudo dnf upgrade
Step 2: Check system info, such as CPU, GPU
neowofetch
2. Installing Nvidia Driver
Step 1: Install akmod tools
sudo dnf install kmodtool akmods mokutil openssl
Step 2: Verify whether RPM fusion is enabled
dnf repolist | grep rmpfusion
Expected response: rpmfusion-free & rpmfusion-nonfree listed
In case of RPM fusion not listed, install it with the below command
sudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
After installing RPM Fusion, update repo metadata with the following command
sudo dnf makecache
Step 3: Installing Nvidia Driver and Cuda
sudo dnf install akmod-nvidia xorg-x11-drv-nvidia-cuda
Step 4: Reboot/Restart the PC
Step 5: Type Nvidia in the search bar and verify whether the installation is successful
Unless you have specific uses, just buy an AMD GPU if you want to run Linux without hassle.