Edit Info Other
Login

Diff for "Configuration"

Differences between revisions 5 and 156 (spanning 151 versions)
Revision 5 as of 2008-11-05 15:52:25
Size: 4375
Comment: Added "Enabling other Third-Party Repositories" section
Revision 156 as of 2021-08-29 21:49:47
Size: 8058
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
== Upgrading from Livna == #acl AdminGroup:read,write,revert All:read
[[Configuration/es|Vea esta página en español]]
Line 3: Line 4:
All users that installed Livna properly (e.g. by installing the ''livna-release'' package) will get RPM Fusion free and nonfree repositories enabled automatically. = Installing Free and Nonfree Repositories =
Line 5: Line 6:
== Upgrading from Freshrpms == We have two separate software repositories:
Line 7: Line 8:
All users that installed Freshrpms properly (e.g. by installing the ''freshrpms-release'' package) will get RPM Fusion free and nonfree repositories enabled automatically.  * '''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 9: Line 11:
== Installing Free and Non-Free Repositories == Installation can be done either using a web browser, or via the command line.
Line 11: Line 13:
Installation can be done using either using a web browser, or via the command line. == Graphical Setup via Firefox web browser ==
Line 13: Line 15:
=== Graphical Setup via firefox web browser and Package Kit === 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 15: Line 17:
To enable access via ''yum'' to the '''free''' repository:
 1. Open a web browser window
 1. Click [[http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm|rpmfusion-free-release]]
 1. If you are asked where to save the ''rpmfusion-free-release-stable.noarch.rpm'' choose the desktop and click save. When complete, view the download window, and double-click the downloaded ''rpmfusion-free-release-stable.noarch.rpm'' file
 1. Package Kit will ask ''Do you want to install this file ?''. Click OK to begin install.
 1. The install should go through various testing, and installing stages, and then complete.
 * [[https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-33.noarch.rpm|RPM Fusion free for Fedora 33]]
 * [[https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-34.noarch.rpm|RPM Fusion free for Fedora 34]]
 * [[https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-branched.noarch.rpm|RPM Fusion free for Fedora Branched and what will become Fedora 35]]
 * [[https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-rawhide.noarch.rpm|RPM Fusion free for Fedora Rawhide]]
 * [[https://mirrors.rpmfusion.org/free/el/rpmfusion-free-release-8.noarch.rpm|RPM Fusion free for RHEL 8 or compatible like CentOS]]
 * [[https://mirrors.rpmfusion.org/free/el/rpmfusion-free-release-7.noarch.rpm|RPM Fusion free for RHEL 7 or compatible like CentOS]]
 * [[https://mirrors.rpmfusion.org/free/el/rpmfusion-free-release-6.noarch.rpm|RPM Fusion free for RHEL 6 or compatible like CentOS]]
{{{#!wiki comment it is useful to make the next branched line in near future }}}
Line 22: Line 26:
To enable access via ''yum'' to the '''nonfree''' repository:
 1. Open a web browser window
 1. Click [[http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm|rpmfusion-nonfree-release]]
 1. If you are asked where to save the ''rpmfusion-nonfree-release-stable.noarch.rpm'' choose the desktop and click save. When complete, view the download window, and double-click the downloaded ''rpmfusion-nonfree-release-stable.noarch.rpm'' file
 1. Package Kit will ask ''Do you want to install this file ?''. Click OK to begin install.
 1. The install should go through various testing, and installing stages, and then complete.
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 29: Line 28:
=== Command Line Setup using rpm ===
 
To enable access via ''yum'' to the '''free''' repository, use the following command as root:
 * [[https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-33.noarch.rpm|RPM Fusion nonfree for Fedora 33]]
 * [[https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-34.noarch.rpm|RPM Fusion nonfree for Fedora 34]]
 * [[https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-branched.noarch.rpm|RPM Fusion nonfree for Fedora Branched and what will become Fedora 35]]
 * [[https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-rawhide.noarch.rpm|RPM Fusion nonfree for Fedora Rawhide]]
 * [[https://mirrors.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-8.noarch.rpm|RPM Fusion nonfree for RHEL 8 or compatible like CentOS]]
 * [[https://mirrors.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-7.noarch.rpm|RPM Fusion nonfree for RHEL 7 or compatible like CentOS]]
 * [[https://mirrors.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-6.noarch.rpm|RPM Fusion nonfree for RHEL 6 or compatible like CentOS]]
Line 33: Line 36:
{{{
rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
{{{#!wiki comment
Line 37: Line 39:
If you want to enable access to the '''nonfree''' repository as well, you also need to type this command as root: ~-(¹) 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 39: Line 41:
{{{
rpm -ivh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
== 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://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
Line 43: Line 49:
== Rawhide ==  * Silverblue with rpm-ostree: {{{
sudo 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
}}} # You will have to reboot for the rpmfusion repositories to appear)
Line 45: Line 53:
If you installed a Fedora Beta or you use Rawhide then use the following command to enable RPM Fusion free for rawhide:

{{{
rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-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://mirrors.rpmfusion.org/free/el/rpmfusion-free-release-8.noarch.rpm https://mirrors.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-8.noarch.rpm
Line 51: Line 58:
And also this one if you want to use non-free too:

{{{
rpm -ivh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-rawhide.noarch.rpm
 * CentOS Steam 8 requires an additional step {{{
sudo dnf config-manager --enable powertools
Line 57: Line 62:
== Enabling other Third-Party Repositories ==

/!\ RPM Fusion is specifically designed to work with Fedora '''only'''. Mixing with other [[FedoraThirdPartyRepos|third-party RPM repositories]] can very easily lead to problems. '''''Enable them at you own risk!'''''

In this case, you should seriously consider using the '''priorities''' yum plugin to enforce ordered protection of repositories. Packages installed from repositories with a higher priority will never be upgraded with packages from repositories with a lower priority. The priorities are also in effect when a new package is installed - if a package is in more than one repository, it will be installed from the repository with the highest priority.

To install the priorities plugin, use the following command:

{{{
yum install yum-priorities
 * CentOS 8 (older version) used a case sensitive name for the PowerTools repository {{{
sudo dnf config-manager --enable PowerTools
Line 69: Line 66:
To enable this plugin, make sure that you have ''plugins=1'' in '''/etc/yum.conf''' and verify that the '''/etc/yum/pluginconf.d/priorities.conf''' file has the following content:

{{{
[main]
enabled=1
 * RHEL 8 requires an additional step {{{
sudo subscription-manager repos --enable "codeready-builder-for-rhel-8-$(uname -m)-rpms"
Line 76: Line 70:
If you want the plugin to protect high-priority repositories against obsoletes in low-priority repositories, enable the ''check_obsoletes'' boolean:
Line 78: Line 71:
{{{
check_obsoletes=1
 * RHEL 7 or compatible like CentOS: {{{
sudo yum localinstall --nogpgcheck https://mirrors.rpmfusion.org/free/el/rpmfusion-free-release-7.noarch.rpm https://mirrors.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-7.noarch.rpm
Line 82: Line 75:
You can add priorities to repositories by adding the line:

{{{
priority=N
 * RHEL 6 or compatible like CentOS: {{{
sudo yum localinstall --nogpgcheck https://mirrors.rpmfusion.org/free/el/rpmfusion-free-release-6.noarch.rpm https://mirrors.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-6.noarch.rpm
Line 88: Line 79:
to a repository entry, where N is an integer number from 1 to 99. The default priority for repositories is 99. The repositories with the lowest number have the highest priority. Note : If sudo is not properly set on your installation, you can replace 'sudo' with 'su -c' in the commands above.
Line 90: Line 81:
You should give a very high priority to Fedora and RPM Fusion repositories. == 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 (¹):

#!wiki comment it is useful to make the next branched line in near future 

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

    sudo 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
    # 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://mirrors.rpmfusion.org/free/el/rpmfusion-free-release-8.noarch.rpm https://mirrors.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-8.noarch.rpm
  • CentOS Steam 8 requires an additional step

    sudo dnf config-manager --enable powertools
  • CentOS 8 (older version) used a case sensitive name for the PowerTools repository

    sudo dnf config-manager --enable PowerTools
  • RHEL 8 requires an 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://mirrors.rpmfusion.org/free/el/rpmfusion-free-release-7.noarch.rpm https://mirrors.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-7.noarch.rpm
  • RHEL 6 or compatible like CentOS:

    sudo yum localinstall --nogpgcheck https://mirrors.rpmfusion.org/free/el/rpmfusion-free-release-6.noarch.rpm https://mirrors.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)