Where can I get yum package for the following rhel4es-i386 in RPM or TAR formart

Hi there,
I'm running the following redhat OS and I need yum installed on them:
Red Hat Enterprise Linux ES release 4 (Nahant Update 3)
Red Hat Enterprise Linux ES release 4 (Nahant Update 4)

Both are running on a i386 arch, I need to intall yum so that I can load updates and patches from my local repository on these servers.
I have searched google and only came up with the link below which is currently unavailable:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

http:// thevpn.guruCommented:
LinuxDukeAuthor Commented:
I'll install it now
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

LinuxDukeAuthor Commented:
Sorry It does not work it's giving me a lot of dependencies which I'm failing to resolve:
Please have a look at the below paste:

[root@nzduat ~]# rpm -ivh yum-2.4.2-0.4.el4.rf.noarch.rpm
warning: yum-2.4.2-0.4.el4.rf.noarch.rpm: V3 DSA signature: NOKEY, key ID 6b8d79e6
error: Failed dependencies:
        python-elementtree is needed by yum-2.4.2-0.4.el4.rf.noarch
        python-sqlite is needed by yum-2.4.2-0.4.el4.rf.noarch
        urlgrabber is needed by yum-2.4.2-0.4.el4.rf.noarch
[root@nzduat ~]# wget http://oak.corporatebank.co.za/centos4-i386/RPMS.os/python-urlgrabber-2.9.8-2.noarch.rpm
--20:06:26--  http://oak.corporatebank.co.za/centos4-i386/RPMS.os/python-urlgrabber-2.9.8-2.noarch.rpm
           => `python-urlgrabber-2.9.8-2.noarch.rpm'
Resolving oak.corporatebank.co.za... ip address
Connecting to oak.corporatebank.co.za|ip address|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 120,787 (118K) [application/x-rpm]

100%[=======================================================================================================================================================>] 120,787       --.--K/s            

20:06:26 (90.28 MB/s) - `python-urlgrabber-2.9.8-2.noarch.rpm' saved [120787/120787]

[root@nzduat ~]# ls
anaconda-ks.cfg  install.log  install.log.syslog  python-urlgrabber-2.9.8-2.noarch.rpm  yum-2.4.2-0.4.el4.rf.noarch.rpm
[root@nzduat ~]# cd /home/gugu/
[root@nzduat gugu]# ls
python-elementtree-1.2.6-4.2.1.i386.rpm  python-sqlite-1.1.7-1.2.i386.rpm
[root@nzduat gugu]# mv python-elementtree-1.2.6-4.2.1.i386.rpm python-sqlite-1.1.7-1.2.i386.rpm /root/
[root@nzduat gugu]# ls
[root@nzduat gugu]# cd /root/
[root@nzduat ~]# ls
anaconda-ks.cfg  install.log  install.log.syslog  python-elementtree-1.2.6-4.2.1.i386.rpm  python-sqlite-1.1.7-1.2.i386.rpm  python-urlgrabber-2.9.8-2.noarch.rpm  yum-2.4.2-0.4.el4.rf.noarch.rpm
[root@nzduat ~]# rpm -Uvh yum-2.4.2-0.4.el4.rf.noarch.rpm python-elementtree-1.2.6-4.2.1.i386.rpm python-sqlite-1.1.7-1.2.i386.rpm python-urlgrabber-2.9.8-2.noarch.rpm
warning: yum-2.4.2-0.4.el4.rf.noarch.rpm: V3 DSA signature: NOKEY, key ID 6b8d79e6
warning: python-elementtree-1.2.6-4.2.1.i386.rpm: V3 DSA signature: NOKEY, key ID 443e1821
error: Failed dependencies:
        libsqlite3.so.0 is needed by python-sqlite-1.1.7-1.2.i386
And I'm unable to get this library libsqlite3.so.0 is needed by python-sqlite-1.1.7-1.2.i386 .


http:// thevpn.guruCommented:
Try here

You have to find the rpm packages and isntall them ...but you surely know that..I had no dependency progs..but SQLITE is needed of course.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
LinuxDukeAuthor Commented:
I have installed the SQLITE package but it requires this library libsqlite3.so.0  when I install the one on the above link.
http:// thevpn.guruCommented:
I really dont know ..you might wana google

can try fedora library


LinuxDukeAuthor Commented:
Thanks let me see if I can come up with anything.
LinuxDukeAuthor Commented:
Managed to find sqlite-3.3.6-2.i386.rpm, but I'm now getting more dependencies.
Help please?

[root@nzduat gugu]# rpm -ivh sqlite-3.3.6-2.i386.rpm
warning: sqlite-3.3.6-2.i386.rpm: V3 DSA signature: NOKEY, key ID e8562897
error: Failed dependencies:
        libc.so.6(GLIBC_2.4) is needed by sqlite-3.3.6-2.i386
        libreadline.so.5 is needed by sqlite-3.3.6-2.i386
        rtld(GNU_HASH) is needed by sqlite-3.3.6-2.i386
http:// thevpn.guruCommented:
Honestly you might want to Give CentOS a try. I dont know why you are facing that much of trouble seems almost all dependencies are missing you your system. Is this a new system ?
LinuxDukeAuthor Commented:
Hi Shakoush2001,

Let be honest with you it's not an easy one to install yum on RHEL 4 but finally I found a solution that is working.
 I downloade the yum source rpm from this link   http://linux.duke.edu/yum/download/2.6/yum-2.6.1-1.src.rpm .
I then did a rebuild of the source rpm
rpmbuild --rebuild  yum-2.6.1-1.src.rpm "this drops the file at /usr/src/redhat/
The change to SPECS and do the command below
rpmbuild -bb yum.spec
This will creat an rpm binary fill from the spec file on the following directory RPMS noarch
Then installed that rpm with the following command plus extra packages needed:
rpm -ivh --nodeps --force --nosignature yum-2.6.1-1.noarch.rpm python-elementtree-1.2.6-4.2.1.i386.rpm python-sqlite-1.1.7-1.2.i386.rpm python-urlgrabber-2.9.8-2.noarch.rpm

This will install yum on RHEL 4 and it's working fine on all my RHEL 4 servers.
Let me thank you for all the assistance you gave me.

You can also do this without rebuilding any source rpm's which I can find daunting sometimes...

Full list of websites, rpms and instructions below...


Yum on RHEL - Quick HOWTO

1. Get the packages


# wget http://dag.wieers.com/rpm/packages/yum/yum-2.4.2-0.4.el4.rf.noarch.rpm


# wget ftp://fr2.rpmfind.net/linux/PLD/dists/ac/ready/i386/libsqlite-2.8.15-1.i386.rpm


# wget ftp://rpmfind.net/linux/dag/redhat/el4/en/i386/dag/RPMS/python-elementtree-1.2.6-7.el4.rf.i386.rpm


# wget ftp://rpmfind.net/linux/dag/redhat/el4/en/i386/dag/RPMS/python-sqlite-0.5.0-1.2.el4.rf.i386.rpm


# wget ftp://rpmfind.net/linux/dag/redhat/el4/en/x86_64/dag/RPMS/python-urlgrabber-2.9.7-1.2.el4.rf.noarch.rpm

2. Install the Packages

# rpm -ivh libsqlite-2.8.15-1.i386.rpm

# rpm -ivh python-elementtree

# rpm -ivh python-sqlite

# rpm -ivh urlgrabber

# rpm -ivh yum-2.4.2-0.4.el4.rf.noarch.rpm

3. Setup the Repository


# wget http://dag.wieers.com/rpm/packages/rpmforge-release/rpmforge-release-0.3.6-1.el4.rf.i386.rpm

# rpm -ivh rpmforge-release-0.3.6-1.el4.rf.i386.rpm

4. Update your packages

remove can from fridge, open, sup slowly whilst doing

# yum update
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.