4247
Comment: Merged upgrade from Freshrpms and Livna
|
5419
People have to be warned
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
== Upgrading from Freshrpms or Livna == | '''Warning: RPM Fusion is insecure.''' |
Line 3: | Line 3: |
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. | '''Look here: https://bugzilla.rpmfusion.org/show_bug.cgi?id=3313''' |
Line 5: | Line 5: |
== Installing Free and Non-Free Repositories == | '''Proceed with caution''' |
Line 7: | Line 7: |
Installation can be done using either using a web browser, or via the command line. | ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- |
Line 9: | Line 58: |
=== Graphical Setup via firefox web browser and Package Kit === | [[Configuration/es|Vea esta página en español]] |
Line 11: | Line 60: |
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. |
= Installing Free and Nonfree Repositories = |
Line 18: | Line 62: |
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. |
We have two separate software repositories: |
Line 25: | Line 64: |
=== Command Line Setup using rpm === To enable access via ''yum'' to the '''free''' repository, use the following command as root: |
* '''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 29: | Line 67: |
{{{ rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm |
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 (¹): /* [[http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-branched.noarch.rpm|RPM Fusion free for Fedora Branched and what will become Fedora 18]] */ * [[http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-19.noarch.rpm|RPM Fusion free for Fedora 19]] * [[http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-20.noarch.rpm|RPM Fusion free for Fedora 20]] * [[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. 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-19.noarch.rpm|RPM Fusion nonfree for Fedora 19]] * [[http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-20.noarch.rpm|RPM Fusion nonfree for Fedora 20]] * [[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]] ~-(¹) 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 14 to the most current: {{{ su -c 'yum localinstall --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' |
Line 33: | Line 98: |
If you want to enable access to the '''nonfree''' repository as well, you also need to type this command as root: {{{ rpm -ivh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.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 ttp://download1.rpmfusion.org/nonfree/el/updates/5/i386/rpmfusion-nonfree-release-5-1.noarch.rpm' |
Line 39: | Line 102: |
== Rawhide == 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 6 or compatible like CentOS: {{{ 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' |
Line 47: | Line 106: |
And also this one if you want to use non-free too: | |
Line 49: | Line 107: |
{{{ rpm -ivh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-rawhide.noarch.rpm }}} |
== Important notes == |
Line 53: | Line 109: |
== Enabling other Third-Party Repositories == | * 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]]. |
Line 55: | Line 111: |
/!\ 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 }}} 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 }}} If you want the plugin to protect high-priority repositories against obsoletes in low-priority repositories, enable the ''check_obsoletes'' boolean: {{{ check_obsoletes=1 }}} You can add priorities to repositories by adding the line: {{{ priority=N }}} 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. You should give a very high priority to Fedora and RPM Fusion repositories. |
* All users that used Freshrpms or Livna installed properly (e.g. by installing one of their ''foo-release'' packages) got RPM Fusion free and nonfree repositories enabled automatically. |
Warning: RPM Fusion is insecure.
Look here: https://bugzilla.rpmfusion.org/show_bug.cgi?id=3313
Proceed with caution
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
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 (¹):
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 14 to the most current:
su -c 'yum localinstall --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 ttp://download1.rpmfusion.org/nonfree/el/updates/5/i386/rpmfusion-nonfree-release-5-1.noarch.rpm'
RHEL 6 or compatible like CentOS:
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'
Important notes
You need to enable EPEL on RHEL 5 & 6 or compatible distributions like CentOS before you enable RPM Fusion for EL. See the fedoraproject wiki for instruction how to enable EPEL.
All users that used Freshrpms or Livna installed properly (e.g. by installing one of their foo-release packages) got RPM Fusion free and nonfree repositories enabled automatically.