In this tutorial, we will show you how to install Nvidia Drivers on Fedora 37. For those of you who didn’t know, Nvidia drivers are essential for enabling smooth graphics performance on your Linux system, especially if you are a gamer or a content creator. Installing the right drivers is crucial to getting the best performance from your Nvidia graphics card.
This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘
sudo‘ to the commands to get root privileges. I will show you the step-by-step installation of the Nvidia graphics processing units (GPUs) drivers on a Fedora 37.
- A server running one of the following operating systems: Fedora 37.
- It’s recommended that you use a fresh OS install to prevent any potential issues.
- SSH access to the server (or just open Terminal if you’re on a desktop).
- An active internet connection. You’ll need an internet connection to download the necessary packages and dependencies for Nvidia Drivers.
- Users should be aware that installing Nvidia drivers on Linux can cause compatibility issues with certain distributions and may break existing graphics configuration settings. It is always recommended to make a backup of your system before installing new drivers or making any other significant changes.
non-root sudo useror access to the
root user. We recommend acting as a
non-root sudo user, however, as you can harm your system if you’re not careful when acting as the root.
Install Nvidia Drivers on Fedora 37
Step 1. Before proceeding, update your Fedora operating system to make sure all existing packages are up to date. Use this command to update the server packages:
sudo dnf upgrade sudo dnf update
Step 2. Enable the RPM Fusion repository.
To enable the RPM Fusion repository, open a terminal and enter the following commands:
sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
Step 3. Disable the Default Nvidia Driver.
Fedora 37 comes with an open-source Nvidia driver that is included in the default installation. However, to install the official Nvidia driver, we need to disable the default driver. To disable the default Nvidia driver, run the following command below:
sudo dnf remove xorg-x11-drv-nouveau
Step 4. Installing Nvidia Drivers on Fedora 37.
Once you have enabled the RPM Fusion repository, you can install the Nvidia drivers using the following command in your terminal:
sudo dnf install akmod-nvidia xorg-x11-drv-nvidia-cuda
Once the Nvidia drivers have been installed, you need to restart your computer for the changes to take effect:
Step 5. Accessing Nvidia Driver on Fedora Linux.
After restarting your computer, open the Nvidia x server settings application using the following command below:
This application will allow you to configure the Nvidia graphics card and manage its settings.
Congratulations! You have successfully installed Nvidia drivers. Thanks for using this tutorial for installing Nvidia drivers on your Fedora 37 system. For additional help or useful information, we recommend you check the official Nvidia website.