Nvidia Driver - RPM free/non free loading site

When I search how to load nvidia in many sites, I am seeing this command to enable RPM free and non-free repos Example

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

Meanwhile in the main RPM page, its claimed that to enable free/non-free RPM ı have to write RPM Fusion

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

are they the same or is there a difference ?

1 Like

This is on rpmfusions configuration page

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

You can also use the graphical setup by clicking and letting gnome software install them.

In general, since RPM Fusion are providing the driver, their information is to be considered authoritative. For Nvidia, that would be:

https://rpmfusion.org/Howto/NVIDIA

The links you’ve noted are different, but they point to the same resources. The difference is that the RPM Fusion page makes you use a mirror URL which will redirect you to a mirror close to you, while the other URLs are using the RPM Fusion download server (not sure if this redirects to a mirror either). In both cases, though, you will receive the same file.

This is no different than the below. The shell sees “\” as a continuation character at the end of the line and continues the command by reading the next line as well.

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