5069
Comment: Add dnf for f22+
|
6217
|
Deletions are marked like this. | Additions are marked like this. |
Line 15: | Line 15: |
1. First enable access to the '''free''' repository. For users of gpk (gnome package kit) or kpackagekit in Fedora that is easy and basically only one step: just click on one of the following files, depending on what distribution you use and then follow the default options that Firefox and Package Kit offer by clicking ''Enter'' a few times (¹): /* [[http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-branched.noarch.rpm|RPM Fusion free for Fedora Branched and what will become Fedora 22]] */ * [[http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-22.noarch.rpm|RPM Fusion free for Fedora 22]] * [[http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-23.noarch.rpm|RPM Fusion free for Fedora 23]] * [[http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-rawhide.noarch.rpm|RPM Fusion free for Fedora Rawhide]] * [[http://download1.rpmfusion.org/free/el/updates/5/i386/rpmfusion-free-release-5-1.noarch.rpm|RPM Fusion free for RHEL 5 or compatible like CentOS]] * [[http://download1.rpmfusion.org/free/el/updates/6/i386/rpmfusion-free-release-6-1.noarch.rpm|RPM Fusion free for RHEL 6 or compatible like CentOS]] |
1. First enable access to the '''free''' repository. For users of gpk (gnome package kit) or kpackagekit in Fedora that is easy and basically only one step: just click on one of the following files, depending on what distribution you use and then follow the default options that Firefox and Package Kit offer by clicking ''Enter'' a few times (¹): |
Line 23: | Line 17: |
1. Once that succeeds, you can enable access to the '''nonfree''' repositories by clicking on one of the following files, depending on what distribution you use and then follow the default options that Firefox and Package Kit offer by clicking ''Enter'' a few times(¹): /* * [[http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-branched.noarch.rpm|RPM Fusion nonfree for Fedora Branched and what will become Fedora 18]] */ * [[http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-22.noarch.rpm|RPM Fusion nonfree for Fedora 22]] * [[http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-23.noarch.rpm|RPM Fusion nonfree for Fedora 23]] * [[http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-rawhide.noarch.rpm|RPM Fusion nonfree for Fedora Rawhide]] * [[http://download1.rpmfusion.org/nonfree/el/updates/5/i386/rpmfusion-nonfree-release-5-1.noarch.rpm|RPM Fusion nonfree for RHEL 5 or compatible like CentOS]] * [[http://download1.rpmfusion.org/nonfree/el/updates/6/i386/rpmfusion-nonfree-release-6-1.noarch.rpm|RPM Fusion nonfree for RHEL 6 or compatible like CentOS]] |
* [[https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-27.noarch.rpm|RPM Fusion free for Fedora 27]] * [[https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-28.noarch.rpm|RPM Fusion free for Fedora 28]] * [[https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-29.noarch.rpm|RPM Fusion free for Fedora 29]] {{{#!wiki comment * [[https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-branched.noarch.rpm|RPM Fusion free for Fedora Branched and what will become Fedora 29]] }}} * [[https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-rawhide.noarch.rpm|RPM Fusion free for Fedora Rawhide]] * [[https://download1.rpmfusion.org/free/el/rpmfusion-free-release-6.noarch.rpm|RPM Fusion free for RHEL 6 or compatible like CentOS]] * [[https://download1.rpmfusion.org/free/el/rpmfusion-free-release-7.noarch.rpm|RPM Fusion free for RHEL 7 or compatible like CentOS]] |
Line 31: | Line 26: |
2. Once that succeeds, you can enable access to the '''nonfree''' repositories by clicking on one of the following files, depending on what distribution you use and then follow the default options that Firefox and Package Kit offer by clicking ''Enter'' a few times(¹): * [[https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-27.noarch.rpm|RPM Fusion nonfree for Fedora 27]] * [[https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-28.noarch.rpm|RPM Fusion nonfree for Fedora 28]] * [[https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-29.noarch.rpm|RPM Fusion nonfree for Fedora 29]] {{{#!wiki comment * [[https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-branched.noarch.rpm|RPM Fusion nonfree for Fedora Branched and what will become Fedora 29]] }}} * [[https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-rawhide.noarch.rpm|RPM Fusion nonfree for Fedora Rawhide]] * [[https://download1.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-6.noarch.rpm|RPM Fusion nonfree for RHEL 6 or compatible like CentOS]] * [[https://download1.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-7.noarch.rpm|RPM Fusion nonfree for RHEL 7 or compatible like CentOS]] |
|
Line 39: | Line 45: |
su -c 'dnf install http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm' }}} * Fedora 14 to Fedora 21 : {{{ su -c 'yum install --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm' }}} * RHEL 5 or compatible like CentOS: {{{ su -c 'rpm -Uvh http://download1.rpmfusion.org/free/el/updates/5/i386/rpmfusion-free-release-5-1.noarch.rpm http://download1.rpmfusion.org/nonfree/el/updates/5/i386/rpmfusion-nonfree-release-5-1.noarch.rpm' |
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 |
Line 51: | Line 49: |
su -c 'yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/el/updates/6/i386/rpmfusion-free-release-6-1.noarch.rpm http://download1.rpmfusion.org/nonfree/el/updates/6/i386/rpmfusion-nonfree-release-6-1.noarch.rpm' | sudo yum localinstall --nogpgcheck https://download1.rpmfusion.org/free/el/rpmfusion-free-release-6.noarch.rpm https://download1.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-6.noarch.rpm }}} * RHEL 7 or compatible like CentOS: {{{ sudo yum localinstall --nogpgcheck https://download1.rpmfusion.org/free/el/rpmfusion-free-release-7.noarch.rpm https://download1.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-7.noarch.rpm }}} Note : If sudo is not properly set on your installation, you can replace 'sudo' with 'su -c' in the commands above. == AppStream metadata == RPM Fusion repositories also provide [[https://www.freedesktop.org/wiki/Distributions/AppStream/|Appstream metadata]] to enable users to install packages using Gnome Software/KDE Discover. Please note that these are a subset of all packages since the metadata are only generated for GUI packages. For the current Fedora releases: F28, F29, rawhide, the suggested method is to install appstream-data using DNF. * The following command will install the required packages: {{{ sudo dnf groupupdate core }}} == Multimedia post-install == RPM Fusion repositories also provide a lot of complement packages, it's often difficult to remember which is the exact name of each complement package. One can easily remember using the package group that the repository extends. * The following command will install the complements multimedia packages needed by gstreamer enabled applications: {{{ sudo dnf groupupdate multimedia }}} * The following command will install the sound-and-video complement packages needed by some applications: {{{ sudo dnf groupupdate sound-and-video |
Line 57: | Line 84: |
* You need to enable [[http://fedoraproject.org/wiki/EPEL|EPEL]] on RHEL 5 & 6 or compatible distributions like CentOS ''before'' you enable RPM Fusion for EL. See the fedoraproject wiki for instruction [[http://fedoraproject.org/wiki/EPEL/FAQ#howtouse|how to enable EPEL]]. | * You need to enable [[http://fedoraproject.org/wiki/EPEL|EPEL]] on RHEL or compatible distributions like CentOS ''before'' you enable RPM Fusion for EL. See the fedoraproject wiki for instruction [[http://fedoraproject.org/wiki/EPEL/FAQ#howtouse|how to enable EPEL]]. |
Installing Free and Nonfree Repositories
We have two separate software repositories:
free for Open Source Software (as defined by the Fedora Licensing Guidelines) which the Fedora project cannot ship due to other reasons
nonfree for redistributable software that is not Open Source Software (as defined by the Fedora Licensing Guidelines); this includes software with publicly available source-code that has "no commercial use"-like restrictions
Installation can be done either using a web browser, or via the command line.
Graphical Setup via Firefox web browser
1. First enable access to the free repository. For users of gpk (gnome package kit) or kpackagekit in Fedora that is easy and basically only one step: just click on one of the following files, depending on what distribution you use and then follow the default options that Firefox and Package Kit offer by clicking Enter a few times (¹):
2. Once that succeeds, you can enable access to the nonfree repositories by clicking on one of the following files, depending on what distribution you use and then follow the default options that Firefox and Package Kit offer by clicking Enter a few times(¹):
(¹) Once you clicked on above link Firefox will ask you how to Open the file. Here you can simply use the default and open the file with the default application Package Installer. Then Firefox will call Package Kit, which asks Do you want to install this file ?. Click OK to begin install; Package Kit then will complain about a Missing security signature; once you tell Package Kit to install the package nevertheless it will move on and install it. That's all.
Command Line Setup using rpm
To enable access to both the free and the nonfree repository use the following command:
Fedora 22 and later:
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
RHEL 6 or compatible like CentOS:
sudo yum localinstall --nogpgcheck https://download1.rpmfusion.org/free/el/rpmfusion-free-release-6.noarch.rpm https://download1.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-6.noarch.rpm
RHEL 7 or compatible like CentOS:
sudo yum localinstall --nogpgcheck https://download1.rpmfusion.org/free/el/rpmfusion-free-release-7.noarch.rpm https://download1.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-7.noarch.rpm
Note : If sudo is not properly set on your installation, you can replace 'sudo' with 'su -c' in the commands above.
AppStream metadata
RPM Fusion repositories also provide Appstream metadata to enable users to install packages using Gnome Software/KDE Discover. Please note that these are a subset of all packages since the metadata are only generated for GUI packages.
For the current Fedora releases: F28, F29, rawhide, the suggested method is to install appstream-data using DNF.
The following command will install the required packages:
sudo dnf groupupdate core
Multimedia post-install
RPM Fusion repositories also provide a lot of complement packages, it's often difficult to remember which is the exact name of each complement package. One can easily remember using the package group that the repository extends.
The following command will install the complements multimedia packages needed by gstreamer enabled applications:
sudo dnf groupupdate multimedia
The following command will install the sound-and-video complement packages needed by some applications:
sudo dnf groupupdate sound-and-video
Important notes
You need to enable EPEL on RHEL or compatible distributions like CentOS before you enable RPM Fusion for EL. See the fedoraproject wiki for instruction how to enable EPEL.