Linux Nvidia Drivers: How To Install Nvidia Graphic Card Drivers In Ferdora

Some linux distributions like Fedora does not come with the proprietary Nvidia drivers installed by default. The Nouveau driver is intalled as default within the operating system, this driver may cause some issues such as screen tearing. I this article i am going to show you how to download and install proprietary Nvidia drivers.

Intalling Nvidia Drivers in Fedora

I am using Fedora 40, but this tutorial should be applicable on all versions of Fedora.

Step 1

Before downloading or installing anything first make your that your system is up-to-date, as installing application without updating your system can be harmful.

In order to update you system, write and execute this command within your terminal.

sudo dnf update

Step 2

Once your system is updated, open the GNOME software application and enable the third party repositories option which is off by default if you haven't enabled it during the fedora installation setup.


Step 3

Now you need to find out what graphic card you have on your system. write and execute this command in the terminal.

lspci -vnn | grep VGA


Step 4

In order to proceed to install the latest Nvidia Drivers from the RPM Fusion repository you have to execute this command in the terminal.

sudo dnf install akmod-nvidia 
 

After that it will ask you for few confermations for which you can just 
enter "Y" and that's it your Nvidia drivers are intalled now, just
reboot your system to make changes take effect.

Optional Step

You can also enable CUDA support for your drivers, it can help you know
stats for your Nvidia graphic card from the console using this command
 nvidia-smi 

 



Comments