Edit Info Other
Login

Diff for "Configuration"

Differences between revisions 10 and 179 (spanning 169 versions)
Revision 10 as of 2008-11-05 21:24:34
Size: 2421
Editor: sunset06
Comment: Remove repeated sentence, other touchups.
Revision 179 as of 2024-02-14 23:47:05
Size: 7055
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
== Installing Free and Non-Free Repositories == ## Please edit system and help pages ONLY in the master wiki!
## For more information, please see MoinMoin:MoinDev/Translation.
##master-page:Unknown-Page
##master-date:Unknown-Date
#acl AdminGroup:read,write,revert All:read
#format wiki
#language en
<<TableOfContents(5)>>

= 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 19:
=== Graphical Setup via Firefox web browser === Please also check the dedicated [[Howto/Multimedia|Multimedia]] page for well known additional post-install steps.
Line 7: Line 21:
Enabling access to the '''free''' repository is easy and basically only one step: See a more dedicated page for [[Howto/OSTree|OSTree]] Systems (such as Silverblue, Kinoite and CoreOS)
Line 9: Line 23:
  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. Also worth to mention is the [[CommonBugs]] sections.
Line 11: Line 25:
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.
Line 13: Line 26:
Once that succeeds, you can enable access to the '''nonfree''' repositories:
Line 15: Line 27:
  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. == Graphical Setup via Firefox web browser ==
Line 17: Line 29:
The individual steps after clicking on the link are the same as the ones for the '''free''' repository. 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 19: Line 31:
=== Command Line Setup using rpm ===  * [[https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-38.noarch.rpm|RPM Fusion free for Fedora 38]]
 * [[https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-39.noarch.rpm|RPM Fusion free for Fedora 39]]
 * [[https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-branched.noarch.rpm|RPM Fusion free for Fedora Branched and what will become Fedora 40]]
 * [[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-9.noarch.rpm|RPM Fusion free for RHEL 9 or compatible like CentOS]]
 * [[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]]
{{{#!wiki comment it is useful to make the next branched line in near future

  * [[https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-37.noarch.rpm|RPM Fusion free for Fedora 37]]

}}}

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://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-38.noarch.rpm|RPM Fusion nonfree for Fedora 38]]
 * [[https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-39.noarch.rpm|RPM Fusion nonfree for Fedora 39]]
 * [[https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-branched.noarch.rpm|RPM Fusion nonfree for Fedora Branched and what will become Fedora 40]]
 * [[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-9.noarch.rpm|RPM Fusion nonfree for RHEL 9 or compatible like CentOS]]
 * [[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]]

{{{#!wiki comment
 * [[https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-37.noarch.rpm|RPM Fusion nonfree for Fedora 37]]
}}}

~-(¹) 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 ==
Line 23: Line 64:
{{{
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://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 27: Line 68:
=== Rawhide ===

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'
 * On Fedora, we default to use the openh264 library, so you need the repository to be explicitely enabled: {{{
sudo dnf config-manager --enable fedora-cisco-openh264
Line 36: Line 72:
== Upgrading from Freshrpms or Livna ==  * 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 38: Line 76:
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 or compatible like CentOS{{{
sudo dnf install --nogpgcheck https://dl.fedoraproject.org/pub/epel/epel-release-latest-$(rpm -E %rhel).noarch.rpm
sudo dnf install --nogpgcheck https://mirrors.rpmfusion.org/free/el/rpmfusion-free-release-$(rpm -E %rhel).noarch.rpm https://mirrors.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-$(rpm -E %rhel).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"
}}}


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


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

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.

Please also check the dedicated Multimedia page for well known additional post-install steps.

See a more dedicated page for OSTree Systems (such as Silverblue, Kinoite and CoreOS)

Also worth to mention is the CommonBugs sections.

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://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
  • On Fedora, we default to use the openh264 library, so you need the repository to be explicitely enabled:

    sudo dnf config-manager --enable fedora-cisco-openh264
  • 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 or compatible like CentOS

    sudo dnf install --nogpgcheck https://dl.fedoraproject.org/pub/epel/epel-release-latest-$(rpm -E %rhel).noarch.rpm
    sudo dnf install --nogpgcheck https://mirrors.rpmfusion.org/free/el/rpmfusion-free-release-$(rpm -E %rhel).noarch.rpm https://mirrors.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-$(rpm -E %rhel).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"

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

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)