Edit Info Other
Login

Diff for "Configuration"

Differences between revisions 5 and 23 (spanning 18 versions)
Revision 5 as of 2008-11-05 15:52:25
Size: 4375
Comment: Added "Enabling other Third-Party Repositories" section
Revision 23 as of 2009-03-02 11:59:37
Size: 4216
Editor: shaijuseb
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
== Upgrading from Livna == = Installing Free and Nonfree Repositories =
Line 3: Line 3:
All users that installed Livna properly (e.g. by installing the ''livna-release'' package) will get RPM Fusion free and nonfree repositories enabled automatically. Installation can be done either using a web browser, or via the command line.
Line 5: Line 5:
== Upgrading from Freshrpms == == Graphical Setup via Firefox web browser ==
Line 7: Line 7:
All users that installed Freshrpms properly (e.g. by installing the ''freshrpms-release'' package) will get RPM Fusion free and nonfree repositories enabled automatically.  1. First enable access to the '''free''' repository. For users of gpk (gnome package kit) that is easy and basically only one step (users of kpackagekit should use the command line to enable RPM Fusion due to [[https://bugzilla.redhat.com/show_bug.cgi?id=481081|a bug in kpackagekit]]; see below); 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 9: Line 9:
== Installing Free and Non-Free Repositories ==   * [[http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm|RPM Fusion free for Fedora 8, 9 or 10]]
  * [[http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-rawhide.noarch.rpm|RPM Fusion free for Fedora Alpha, Beta, Preview, Rawhide, RC, Snapshot]]
  * [[http://download1.rpmfusion.org/free/el/updates/testing/5/i386/rpmfusion-free-release-5-0.1.noarch.rpm|RPM Fusion free for RHEL5 or compatible like CentOS]]
Line 11: Line 13:
Installation can be done using either using a web browser, or via the command line.  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-stable.noarch.rpm|RPM Fusion nonfree for Fedora 8, 9 or 10]]
  * [[http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-rawhide.noarch.rpm|RPM Fusion nonfree for Fedora Alpha, Beta, Preview, Rawhide, RC, Snapshot]]
  * [[http://download1.rpmfusion.org/nonfree/el/updates/testing/5/i386/rpmfusion-nonfree-release-5-0.1.noarch.rpm|RPM Fusion nonfree for RHEL5 or compatible like CentOS]]
Line 13: Line 18:
=== Graphical Setup via firefox web browser and Package Kit === ~-(¹) 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 15: Line 20:
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.
== Command Line Setup using rpm ==
Line 22: Line 22:
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.
To enable access to both the '''free''' and the '''nonfree''' repository use the following command:
Line 29: Line 24:
=== Command Line Setup using rpm ===
 
To enable access via ''yum'' to the '''free''' repository, use the following command as root:

{{{
rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
 * Fedora 8, 9 or 10: {{{
su -c 'rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm'
Line 37: Line 28:
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
 * Fedora Alpha, Beta, Preview, Rawhide, RC, Snapshot: {{{
su -c 'rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-rawhide.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-rawhide.noarch.rpm'
Line 43: Line 32:
== 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
 * RHEL5 or compatible like CentOS: {{{
su -c 'rpm -Uvh http://download1.rpmfusion.org/free/el/updates/testing/5/i386/rpmfusion-free-release-5-0.1.noarch.rpm http://download1.rpmfusion.org/nonfree/el/updates/testing/5/i386/rpmfusion-nonfree-release-5-0.1.noarch.rpm'
Line 51: Line 36:
And also this one if you want to use non-free too: == More information ==
EPEL
Line 53: Line 39:
{{{
rpm -ivh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-rawhide.noarch.rpm
}}}
To install EPEL:
Line 57: Line 41:
== Enabling other Third-Party Repositories == wget http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm
rpm -ivh epel-release-5-3.noarch.rpm
Line 59: Line 44:
/!\ 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!''''' priority=50
rpmfusion
Line 61: Line 47:
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 RPMFusion:
Line 63: Line 49:
To install the priorities plugin, use the following command: rpm -Uvh http://download1.rpmfusion.org/free/el/updates/testing/5/i386/rpmfusion-free-release-5-0.1.noarch.rpm http://download1.rpmfusion.org/nonfree/el/updates/testing/5/i386/rpmfusion-nonfree-release-5-0.1.noarch.rpm
Line 65: Line 51:
{{{
yum install yum-priorities
}}}
priority=70
Line 69: Line 53:
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:  * You need to enable EPEL on RHEL5 or compatible distributions like CentOS ''before'' you enable RPM Fusion for EL
Line 71: Line 55:
{{{
[main]
enabled=1
}}}
 * The RPM Fusion for EL repositories are still in the early testing stages; hence you (for now) need to enable epel-testing as well, as some of the RPM Fusion packages depend on packages that are currently in epel-testing.
Line 76: Line 57:
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.

Installing Free and Nonfree Repositories

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) that is easy and basically only one step (users of kpackagekit should use the command line to enable RPM Fusion due to a bug in kpackagekit; see below); 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; The install should go through various testing, and installing stages, and then complete. That's all.

Command Line Setup using rpm

To enable access to both the free and the nonfree repository use the following command:

  • Fedora 8, 9 or 10:

    su -c 'rpm -Uvh 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 Alpha, Beta, Preview, Rawhide, RC, Snapshot:

    su -c 'rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-rawhide.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-rawhide.noarch.rpm'
  • RHEL5 or compatible like CentOS:

    su -c 'rpm -Uvh http://download1.rpmfusion.org/free/el/updates/testing/5/i386/rpmfusion-free-release-5-0.1.noarch.rpm http://download1.rpmfusion.org/nonfree/el/updates/testing/5/i386/rpmfusion-nonfree-release-5-0.1.noarch.rpm'

More information

EPEL

To install EPEL:

wget http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm rpm -ivh epel-release-5-3.noarch.rpm

priority=50 rpmfusion

To install RPMFusion:

rpm -Uvh http://download1.rpmfusion.org/free/el/updates/testing/5/i386/rpmfusion-free-release-5-0.1.noarch.rpm http://download1.rpmfusion.org/nonfree/el/updates/testing/5/i386/rpmfusion-nonfree-release-5-0.1.noarch.rpm

priority=70

  • You need to enable EPEL on RHEL5 or compatible distributions like CentOS before you enable RPM Fusion for EL

  • The RPM Fusion for EL repositories are still in the early testing stages; hence you (for now) need to enable epel-testing as well, as some of the RPM Fusion packages depend on packages that are currently in epel-testing.
  • 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.

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