Office of Museum Technology

FLMNH Linux Pages

Florida Museum of Natural History

University of Florida

How to set up software updates using yum on Fedora Core 4

Fedora Core 4 (FC4) no longer requires much effort to set up yum software updates. Yum is configured by default to check GPG keys (good to make sure your packages are legit) and will import GPG keys automatically for the main fedora repositories.

You should manually update at least once to import the keys before setting up the nightly automatic updates.
 yum -y update
 /sbin/chkconfig yum on
 /sbin/service yum start

How to set up software updates using yum on Fedora Core 1

[Also useful for FC2 and FC3. This portion is somewhat outdated since FC1 and FC2 have been moved to the legacy products. To continue receiving updates for older Fedora distributions, see http://fedoralegacy.org/download/]

This procedure requires administrative or root access.

1.  Import the fedora GPG key so we can verify the integrity of the downloaded packages.

 rpm --import /usr/share/rhn/RPM-GPG-KEY-fedora

2.  Modify /etc/yum.conf to enable gpg checking.
[base]
name=Fedora Core $releasever - $basearch - Base
baseurl=http://fedora.redhat.com/releases/fedora-core-$releasever
gpgcheck=1

[updates-released]
name=Fedora Core $releasever - $basearch - Released Updates
baseurl=http://fedora.redhat.com/updates/released/fedora-core-$releasever
gpgcheck=1

3.  Update! The -y option will go ahead and install the updates without asking for confirmation.
 yum -y update

4.  Enable the yum service, which uses a daily cron job to get updates automatically .

/sbin/chkconfig yum on
/sbin/service yum start

Last Update 6/30/2005 by Dan Stoner

Send us an email:
linuxpages-at-flmnh.ufl.edu
(Replace '-at-' with '@')
FLMNH Linux Pages Home
OMT Home