Ralfs
HOWTO configure yum on Fedora Core
Please see the official Fedora Customizing Yum for more details about Yum and its configuration.

Repositories:

Skype:

Add Skype repositary
nano /etc/yum.repos.d/skype.repo
[skype]
name=Skype Repository
baseurl=http://download.skype.com/linux/repos/fedora/updates/i586/
gpgkey=http://www.skype.com/products/skype/linux/rpm-public-key.asc
gpgcheck=0
enabled=1
# NEIET: rpm --import http://www.skype.com/products/skype/linux/rpm-public-key.asc
# TAPEC: gpgcheck=0
OLD repo:

Another "school" (not compatible) repositories:

ATrpms
Planet CCRMA
rpm.livna.org

About repositories:

From: Stanton Finley FC5 Linux Installation Notes
Oldest: Stanton Finley FC4 Linux Installation Notes and Stanton Finley FC3 Linux Installation Notes
Keep the following in mind:

You should not use the livna.org/fedora extras repositories in conjunction with the dag/freshrpms/dries/newrpms/PlanetCCRMA (RPMforge) collection of rpms in your configuration files for automatic updates. Use one group or the other but not both. I myself subscribe to the RPMforge collection. The dag/freshrpms/dries/newrpms/PlanetCCRMA (RPMforge) repositories have provided me with all of the programs I have needed as additions to the Fedora base.

Un par to pašu tēmu:

ATrpms warning
DAG What repositories can I mix ?
DAG about compatibility with Fedora

Obtain single RPM packaged applications

More specifically it is possible to configure other repositories with their enable flags set to "0" (off)
yum "--enablerepo" command must be used when one of those packages is desired
You can temporarily disable a troublesome repository with a command such as, for example
yum --disablerepo=dries update

Importing GPG key:
Vai vislabākais risinājums gadījumā nav šāds:
rpm --import /usr/share/doc/fedora-release-*/*GPG-KEY*
yum -y update
Uz FC4 tas izskataas shadi:
$ yum update xpdf
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2
Public key for xpdf-3.01-0.FC4.5.i386.rpm is not installed
Retrieving GPG key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
Importing GPG key 0x4F2A6FD2 "Fedora Project ≤fedora@redhat.com>"
Is this ok [y/N]: y
Key imported successfully
Gan jau var shaadi:
$ rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
Tad peec tam var apskatīt kādi instalēti key:
$ rpm -qa gpg-pubkey*
gpg-pubkey-4f2a6fd2-3f9d9d3b
gpg-pubkey-db42a60e-37ea5438
Default repository on FC
Fedora Extras is already enabled on Fedora Core 4
In /etc/yum.repos.d directory:
[extras]
name=Fedora Extras - $releasever - $basearch
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/$releasever/$basearch/
gpgcheck=1
gpgkey=http://download.fedora.redhat.com/pub/fedora/linux/extras/RPM-GPG-KEY-Fedora-Extras

[extras-testing]
name=Fedora Extras Test Updates - $releasever - $basearch
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/testing/$releasever/$basearch/
gpgcheck=1
gpgkey=http://download.fedora.redhat.com/pub/fedora/linux/extras/RPM-GPG-KEY-Fedora-Extras
enabled=0

[extras-debug]
name=Fedora Extras - $releasever - $basearch - Debugging packages
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/$releasever/$basearch/debug/
gpgcheck=1
gpgkey=http://download.fedora.redhat.com/pub/fedora/linux/extras/RPM-GPG-KEY-Fedora-Extras
enabled=0

Piemeeri
DAG
In file
    /etc/yum.repos.d/dag.repo
[dag]
name=Dag RPM Repository for Fedora Core $releasever
baseurl=http://apt.sw.be/fedora/$releasever/en/$basearch/dag
# pieliku veel klaat:
enabled=1
gpgcheck=1
Pēc tam:
Download DAG GPG key
$ rpm --import RPM-GPG-KEY.dag.txt
$ yum update

add ATrpms.net repo:
$ wget wget http://ATrpms.net/RPM-GPG-KEY.atrpms
$ rpm --import RPM-GPG-KEY.atrpms
$ nano /etc/yum.repos.d/at-stable.repo
[at-stable]
name=ATrpms for Fedora Core $releasever stable
baseurl=http://apt.atrpms.net/fedora/$releasever/en/$basearch/at-stable
Usage:
$ yum update <name of package>
$ yum search <keyword>
$ yum list available
From time to time you may want to save some diskspace:
$ yum clean
Packages stores in:
/var/cache/yum/dag/packages
(C) 2005-2008, Ralfs.