Last modified 29 Aug 2005
I also have information on yum in Fedora Core 3
I use yum to keep my system updated. Here is my step-by-step procedure:
/etc/yum.repos.d/fedora.repo: ---- [base] name=Fedora Core $releasever - $basearch - Base baseurl=http://fedora.server4you.net/fedora/core/$releasever/$basearch/os/ # mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-$releasever enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora ---- /etc/yum.repos.d/fedora-updates.repo: ---- [updates-released] name=Fedora Core $releasever - $basearch - Released Updates baseurl=http://fedora.server4you.net/fedora/core/updates/$releasever/$basearch/ # mirrorlist=http://fedora.redhat.com/download/mirrors/updates-released-fc$releasever enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora ----For Fedora Extras, I added a nearby mirror to the list. The Fedora mirror list is useful for that.
/etc/yum.repos.d/fedora-extras.repo: ---- [extras] name=Fedora Extras $releasever - $basearch baseurl=http://rh-mirror.linux.iastate.edu/pub/fedora/extras/$releasever/$basearch/,http://download.fedora.redhat.com/pub/fedora/linux/extras/$releasever/$basearch/ mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-extras-$releasever enabled=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-extras gpgcheck=1 ----
---- [freshrpms] name=Fedora Core $releasever - $basearch - Freshrpms baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/freshrpms/ mirrorlist=http://ayo.freshrpms.net/fedora/linux/$releasever/mirrors-freshrpms enabled=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-freshrpms gpgcheck=1 ----Now you can access that repository with yum. Eg to get the xine program for viewing movies and DVDs, you type
> yum install xineand it follows all the dependencies and installs xine and everything it needs to function.
---- [dries] name=Extra Fedora rpms dries - $releasever - $basearch baseurl=http://rh-mirror.linux.iastate.edu/pub/dag/dries/fedora/fc$releasever/$basearch/dries/RPMS/,http://ftp.belnet.be/packages/dries.ulyssis.org/fedora/linux/$releasever/$basearch/dries/RPMS/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-dries enabled=1 ----Now you can access that repository with yum.
> chkconfig yum on
yum update # brings your system up to date yum --exclude 'openoffice*' update # exclude big unnecessary stuff yum clean packages # delete already installed package files
Copyright © Mark Alford (2005)
alford(at)physics.wustl.edu