Sunday, May 22, 2022

How to Enable RPM Fusion repository on Fedora Silverblue

Many video codecs are non-free, so they are not included in Fedora default repositories and Flathub. So adding RPM Fusion repository is necessary. RPM Fusion repository provides the software which are not included in Fedora and Red Hat.

To add RPM Fusion free and nonfree repositories on Fedora Silverblue, run:

$ rpm-ostree 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

Sample output:

 Downloading https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-33.noarch.rpm…done

 Downloading https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-33.noarch.rpm…done

 Checking out tree 43462d3… done

 Enabled rpm-md repositories: fedora-cisco-openh264 fedora updates updates-archive

 rpm-md repo 'fedora-cisco-openh264' (cached); generated: 2020-08-25T19:10:34Z

 rpm-md repo 'fedora' (cached); generated: 2020-10-19T23:27:19Z

 rpm-md repo 'updates' (cached); generated: 2021-04-04T00:56:39Z

 rpm-md repo 'updates-archive' (cached); generated: 2021-04-05T01:34:14Z

 Importing rpm-md… done

 Resolving dependencies… done

 Checking out packages… done

 Running pre scripts… done

 Running post scripts… done

 Running posttrans scripts… done

 Writing rpmdb… done

 Writing OSTree commit… done

 Staging deployment… done

 Freed: 296.0 MB (pkgcache branches: 0)

 Added:

   rpmfusion-free-release-33-1.noarch

   rpmfusion-nonfree-release-33-1.noarch

 Run "systemctl reboot" to start a reboot

After adding the RPM Fusion repository, you must reboot your system to enable it.

$ systemctl reboot


0 comments:

Post a Comment