Edit Info Other
Login

Diff for "Configuration"

Differences between revisions 10 and 149 (spanning 139 versions)
Revision 10 as of 2008-11-05 21:24:34
Size: 2421
Editor: sunset06
Comment: Remove repeated sentence, other touchups.
Revision 149 as of 2020-09-07 09:22:46
Size: 8091
Comment: revert download0
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
== Installing Free and Non-Free Repositories == #acl AdminGroup:read,write,revert All:read
[[Configuration/es|Vea esta página en español]]

= 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
Line 5: Line 13:
=== Graphical Setup via Firefox web browser === == Graphical Setup via Firefox web browser ==
Line 7: Line 15:
Enabling access to the '''free''' repository is easy and basically only one step: 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 (¹):
 * [[https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-30.noarch.rpm|RPM Fusion free for Fedora 30]]
 * [[https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-31.noarch.rpm|RPM Fusion free for Fedora 31]]
 * [[https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-32.noarch.rpm|RPM Fusion free for Fedora 32]]
 * [[https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-branched.noarch.rpm|RPM Fusion free for Fedora Branched and what will become Fedora 33]]
 * [[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-8.noarch.rpm|RPM Fusion free for RHEL 8 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]]
 * [[https://download1.rpmfusion.org/free/el/rpmfusion-free-release-6.noarch.rpm|RPM Fusion free for RHEL 6 or compatible like CentOS]]
Line 9: Line 25:
  1. click on this file: [[http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm|rpmfusion-free-release]] and then follow the default options that Firefox and Package Kit offer by clicking '''Enter''' a few times.
Line 11: Line 26:
Verbose: 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; The install should go through various testing, and installing stages, and then complete. That's all. 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(¹):
Line 13: Line 28:
Once that succeeds, you can enable access to the '''nonfree''' repositories:  * [[https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-30.noarch.rpm|RPM Fusion nonfree for Fedora 30]]
 * [[https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-31.noarch.rpm|RPM Fusion nonfree for Fedora 31]]
 * [[https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-32.noarch.rpm|RPM Fusion nonfree for Fedora 32]]
 * [[https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-branched.noarch.rpm|RPM Fusion nonfree for Fedora Branched and what will become Fedora 33]]
 * [[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-8.noarch.rpm|RPM Fusion nonfree for RHEL 8 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]]
 * [[https://download1.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-6.noarch.rpm|RPM Fusion nonfree for RHEL 6 or compatible like CentOS]]
Line 15: Line 37:
  1. click on this file: [[http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm|rpmfusion-nonfree-release]] and then follow the default options that Firefox and Package Kit offer by clicking '''Enter''' a few times.
Line 17: Line 38:
The individual steps after clicking on the link are the same as the ones for the '''free''' repository. ~-(¹) 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.-~
Line 19: Line 40:
=== Command Line Setup using rpm === == Command Line Setup using rpm ==
Line 23: Line 44:
{{{
su -c 'rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm'
 * Fedora with dnf: {{{
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 27: Line 48:
=== Rawhide ===  * Silverblue with rpm-ostree: {{{
sudo rpm-ostree 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
}}} # You will have to reboot for the rpmfusion repositories to appear)
Line 29: Line 52:
If you installed a Fedora Alpha/Beta/Preview or if you use Rawhide then use the following command to enable RPM Fusion's '''free''' and '''nonfree''' repositories for rawhide:

{{{
su -c 'rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-rawhide.noarch.rpm'
su -c 'rpm -ivh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-rawhide.noarch.rpm'
 * RHEL 8 or compatible like CentOS{{{
sudo dnf install --nogpgcheck https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
sudo dnf install --nogpgcheck https://download1.rpmfusion.org/free/el/rpmfusion-free-release-8.noarch.rpm https://download1.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-8.noarch.rpm
Line 36: Line 57:
== Upgrading from Freshrpms or Livna ==  * CentOS 8 required additional step {{{
sudo dnf config-manager --enable PowerTools
}}}
Line 38: Line 61:
All users that installed Freshrpms (e.g. by installing the ''freshrpms-release'' package) or Livna (e.g. by installing the ''livna-release'' package) properly will get RPM Fusion free and nonfree repositories enabled automatically.  * RHEL 8 required additional step {{{
sudo subscription-manager repos --enable "codeready-builder-for-rhel-8-$(uname -m)-rpms"
}}}


 * 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
}}}

 * 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
}}}

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: 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 --setop="install_weak_deps=False" --exclude=PackageKit-gstreamer-plugin
}}}

 * The following command will install the sound-and-video complement packages needed by some applications: {{{
sudo dnf groupupdate sound-and-video
}}}


== Tainted repos ==

RPM Fusion has introduced "tainted" repos for free and nonfree sections. This is for Fedora, RHEL, CentOS and derived.

 * Tainted free is dedicated for FLOSS packages where some usages might be restricted in some countries. Example: to play DVD with libdvdcss: {{{
sudo dnf install rpmfusion-free-release-tainted
sudo dnf install libdvdcss
}}}

 * Tainted nonfree is dedicated to non-FLOSS packages without a clear redistribution status by the copyright holder. But is allowed as part of hardware inter-operability between operating systems in some countries : {{{
sudo dnf install rpmfusion-nonfree-release-tainted
sudo dnf install \*-firmware
}}}


== Important notes ==

 * 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]].

Vea esta página en español

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 with dnf:

    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
  • Silverblue with rpm-ostree:

    sudo rpm-ostree 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
    # You will have to reboot for the rpmfusion repositories to appear)
  • RHEL 8 or compatible like CentOS

    sudo dnf install --nogpgcheck https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
    sudo dnf install --nogpgcheck https://download1.rpmfusion.org/free/el/rpmfusion-free-release-8.noarch.rpm https://download1.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-8.noarch.rpm
  • CentOS 8 required additional step

    sudo dnf config-manager --enable PowerTools
  • RHEL 8 required additional step

    sudo subscription-manager repos --enable "codeready-builder-for-rhel-8-$(uname -m)-rpms"
  • 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
  • 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

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: 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 --setop="install_weak_deps=False" --exclude=PackageKit-gstreamer-plugin
  • The following command will install the sound-and-video complement packages needed by some applications:

    sudo dnf groupupdate sound-and-video

Tainted repos

RPM Fusion has introduced "tainted" repos for free and nonfree sections. This is for Fedora, RHEL, CentOS and derived.

  • Tainted free is dedicated for FLOSS packages where some usages might be restricted in some countries. Example: to play DVD with libdvdcss:

    sudo dnf install rpmfusion-free-release-tainted
    sudo dnf install libdvdcss
  • Tainted nonfree is dedicated to non-FLOSS packages without a clear redistribution status by the copyright holder. But is allowed as part of hardware inter-operability between operating systems in some countries :

    sudo dnf install rpmfusion-nonfree-release-tainted
    sudo dnf install \*-firmware

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.

Configuration (last edited 2024-11-04 10:48:43 by NicolasChauvet)