getting yum on redhat 8.0
Wade Maxfield
maxfield at one.ctelcom.net
Thu Mar 18 19:25:39 UTC 2004
I got a round tuit and went to the fedora legacy pages. There are great
tutorials on YUM for 7.3 and 7.2, but not for 8.0. The instructions for
installing the apt using rpm don't work exactly as stated.
I would like to offer these snippets for someone to put into a "yum for
redhat 8.0" page very similar to the ones for 7.2/7.3
====================================================================
Take the entire 7.3 yum page. Add/change the following information:
=======================================================================
Yum for Redhat 8.0 can be obtained from freshrpms.net. It is the rpm:
yum-2.0.3-5.rh.fr.i386.rpm
http://psyche.freshrpms.net/rpm.html?id=1117
(you can also search for yum on their master page)
Note: it is also listed at speakeasy.rpmfind.net.
Yum requires the gnupg, python, and rpm-python packages. The standard
gnupg and python packages that come with the redhat 8.0 CD can be
installed. rpm-python will be updated below.
Yum also requires glibc 2.3.2, which is available from
http://download.fedoralegacy.org/redhat/8.0/updates/i386/
glibc-2.3.2-4.80.8.i386.rpm
glibc-common-2.3.2-4.80.8.i386.rpm
Yum also requires later versions of RPM. This is a good thing, as
getting the updated RPM's also fix the hangs you will experience with rpm
for redhat 8.0.
The updated rpm packages are at:
ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.1.x/
they are:
rpm-4.1.1-1.8x.i386.rpm
rpm-build-4.1-8x.i386.rpm
popt-1.7.1-1.8x.i386.rpm
rpm-devel-4.1.1-1.8x.i386.rpm
rpm-python-4.1.1-1.8x.i386.rpm
Note: A discussion of RPM hangs for redhat 8.0 is at:
http://www.rpm.org/hintskinks/repairdb/
Finally, you have to add the fedora legacy site to the Yum for redhat
8.0 /etc/yum.conf file.
Mine looks like this and appears to work, but it may not be totally
correct:
------------------------------------------------------------------------
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
gpgcheck=1
tolerant=1
exactarch=1
[os]
name=Red Hat Linux $releasever - $basearch - os
baseurl=http://ayo.freshrpms.net/redhat/$releasever/$basearch/os
[freshrpms]
name=Red Hat Linux $releasever - $basearch - freshrpms
baseurl=http://ayo.freshrpms.net/redhat/$releasever/$basearch/freshrpms
[base]
name=Red Hat Linux $releasever base
baseurl=http://download.fedoralegacy.org/redhat/$releasever/os/$basearch
[updates]
name=Red Hat Linux $releasever updates
baseurl=http://download.fedoralegacy.org/redhat/$releasever/updates/$basearch
[legacy-utils]
name=Fedora Legacy utilities for Red Hat Linux $releasever
baseurl=http://download.fedoralegacy.org/redhat/$releasever/legacy-utils/$basearch
[updates]
name=Red Hat Linux $releasever - $basearch - updates
baseurl=http://ayo.freshrpms.net/redhat/$releasever/$basearch/updates
----------------------------------------------------------------------------
More information about the fedora-legacy-list
mailing list