How to Install yum on Redhat Enterprise Linux 4 with dependencies
July 29, 2008 70 Commentshow to install yum on Red Hat Enterprise Linux 4
Install yum on Redhat Enterprise Linux 4
It’s not very intuitive to install yum on RHEL, you always need to rebuild yum from the srpm to compile it with the python version comes with redhat and resolve the dependencies:
This case applies to most Red Hat Enterprise Linux 4, from i386 to i686 machines, successfully tested on our Red Hat Enterprise Linux ES release 4 (Nahant Update 6):
To use it for other systems / architectures, check the packages given at url
1. Get the main packages
http://dag.wieers.com/rpm/packages/yum/
$wget http://dag.wieers.com/rpm/packages/yum/yum-2.4.2-0.4.el4.rf.noarch.rpm
http://rpmfind.net/linux/rpm2html/search.php?query=libsqlite.so.0&submit=Search+…&system=&arch=
wget ftp://fr2.rpmfind.net/linux/PLD/dists/ac/ready/i386/libsqlite-2.8.15-1.i386.rpm
http://rpmfind.net/linux/rpm2html/search.php?query=python-elementtree&submit=Search+…&system=&arch=
wget ftp://rpmfind.net/linux/dag/redhat/el4/en/i386/dag/RPMS/python-elementtree-1.2.6-7.el4.rf.i386.rpm
http://rpmfind.net/linux/rpm2html/search.php?query=python-sqlite&submit=Search+…&system=&arch=
$wget ftp://rpmfind.net/linux/dag/redhat/el4/en/i386/dag/RPMS/python-sqlite-0.5.0-1.2.el4.rf.i386.rpm
http://rpmfind.net/linux/rpm2html/search.php?query=urlgrabber&submit=Search+…&system=&arch=
$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 Rpm’s
$rpm -ivh libsqlite-2.8.15-1.i386.rpm
$rpm -ivh python-elementtree-1.2.6-7.el4.rf.i386.rpm
$rpm -ivh python-sqlite-0.5.0-1.2.el4.rf.i386.rpm
$rpm -ivh python-urlgrabber-2.9.7-1.2.el4.rf.noarch.rpm
$rpm -ivh yum-2.4.2-0.4.el4.rf.noarch.rpm
3. Setup the Repository
http://dag.wieers.com/rpm/packages/rpmforge-release/
$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. Yum update all packages
$yum update
Software, Tips
August 22nd, 2010 at 1:24 pm
Considerably, the write-up is in reality the best on this important topic. I concur along with your results and will thirstily look forward for your approaching posts. Just saying thanks won’t be enough, for that great lucidity in your writing. I am going to instantly grab your rss feeds to keep abreast of any updates. Solid work and a lot of achievement in your small business venture!
August 22nd, 2010 at 11:49 pm
Keep working ,great job!
August 23rd, 2010 at 7:42 am
gucci bag
August 23rd, 2010 at 11:23 am
come true.
August 23rd, 2010 at 1:26 pm
Thanks!
August 24th, 2010 at 7:40 am
Your blog is so informative … keep up the good work!!!!
August 24th, 2010 at 12:32 pm
It was quite a useful idea! Just want to say thank you for the insight you have shared. Just go on coming up with this type of posts. I most certainly will become your loyal reader. Thank you.
August 24th, 2010 at 11:44 pm
Please tell me it worked right? I dont need to sumit it once again if i do not have to! Either the blog glitced out or i am an idiot, the second selection doesnt surprise me lol. thanks in your great blog!
August 25th, 2010 at 9:06 pm
Well, I don’t know if that’s going to work for me, but definitely worked for you!
Excellent post!
August 26th, 2010 at 10:15 pm
I was looking for some thing & got the blog. I just loved it. Keep working on it.
August 27th, 2010 at 9:23 am
Stumbled into this website by chance but I’m certain glad I clicked on that link. You definitely answered all of the queries I’ve been dying to answer for some time now. Will definitely occur back for more of this. Thank you so much
August 27th, 2010 at 9:06 pm
You can use to win friends and influence buddies.
August 28th, 2010 at 5:26 pm
It’s a win/win situation or after all, come on, let’s face it.
August 29th, 2010 at 11:35 pm
Nice.
August 30th, 2010 at 4:58 pm
A few top dogs guess the answer might be no.
August 30th, 2010 at 5:14 pm
Going by what top experts say respecting , what I have is a temperament suitable for.
August 30th, 2010 at 7:42 pm
I completely agree with the previously mentioned remark, the net is undeniably growing into the most significant channel of communication across the globe and it’s as a result of websites like this that thoughts are spreading so fast.
August 31st, 2010 at 4:15 am
It is established how masters don’t rely on a clear cut category like this.
August 31st, 2010 at 5:19 am
There are an amazing amount of suppositions in that area of convoluted thought.
August 31st, 2010 at 3:38 pm
Do you have to have strangers?