Enabling the RPM Fusion repositories using command-line utilities
This procedure describes how to enable the RPM Fusion software repositories without using any graphical applications.
Prerequisites
You have internet access.
Procedure
To enable the Free repository, use:
$ sudo dnf install \
https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
Optionally, enable the Nonfree repository:
$ sudo dnf install \
https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
The first time you attempt to install packages from these repositories, the dnf utility prompts you to confirm the signature of the repositories. Confirm it.