How to Install yum on Redhat Enterprise Linux 4 with dependencies

July 29, 2008 70 Comments

how 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

Tags: , , , Software, Tips

70 Responses to “How to Install yum on Redhat Enterprise Linux 4 with dependencies”

Pages: « 1 [2] Show All

  1. 51
    Lesli Petrus Says:

    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!

  2. 52
    Ordinateur de Bureau Says:

    Keep working ,great job!

  3. 53
    chanel handbags Says:

    gucci bag

  4. 54
    Voyage Vietnam Says:

    come true.

  5. 55
    stubborn body fat Says:

    Thanks!

  6. 56
    Ordinateur Bureau Says:

    Your blog is so informative … keep up the good work!!!!

  7. 57
    Ayana Passarelli Says:

    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.

  8. 58
    Download Full Movies Says:

    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!

  9. 59
    property solicitors Says:

    Well, I don’t know if that’s going to work for me, but definitely worked for you! :) Excellent post!

  10. 60
    Amazing Diet To Lose Pounds Says:

    I was looking for some thing & got the blog. I just loved it. Keep working on it.

  11. 61
    full movie downloads Says:

    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

  12. 62
    Cruz Sachleben Says:

    You can use to win friends and influence buddies.

  13. 63
    James Maria Says:

    It’s a win/win situation or after all, come on, let’s face it.

  14. 64
    lose stubborn pounds Says:

    Nice.

  15. 65
    Evelyne Crawhorn Says:

    A few top dogs guess the answer might be no.

  16. 66
    Dayle Tote Says:

    Going by what top experts say respecting , what I have is a temperament suitable for.

  17. 67
    Shenna Cramp Says:

    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.

  18. 68
    pain inox brossé blanc Says:

    It is established how masters don’t rely on a clear cut category like this.

  19. 69
    casino en ligne france Says:

    There are an amazing amount of suppositions in that area of convoluted thought.

  20. 70
    jeu de casino en ligne Says:

    Do you have to have strangers?

Pages: « 1 [2] Show All

Leave a Reply

Powered by WP Hashcash

World Trade Center Building 7 was NOT hit by an aircraft.

9/11 Controlled Demolitions of September 11, 2001 World Trade Center Building 7 was NOT hit by an aircraft. This...

HAPPY DIWALI AND NEW YEAR, CELEBRATE Diwali

HAPPY DIWALI AND NEW YEAR TO U *. * . * . * . * . * . *...

Dipawali 2009 pooja time, Diwali Muhurats 2009, Auspicious time forLakshmi Puja

Diwali Pooja Muhurats, Auspicious time, Shubh Samay in 2009 Pushya Nakshatra October 12, 2009 is the ‘Pushya Nakshatra’ which...

Diwali sms, Free Diwali sms, Happy Diwali sms, Free Send Diwali sms

Diwali sms Diwali aai, masti chahi, rangi rangoli, Diwali aai, masti chahi, rangi rangoli, deep jalaye, Dhoom Dhadaka, chhoda...

Munna bhai Free SMS, Mobile Text Messages, Tapoti Style Akdom Zakasss

Tera bahot memory aa rela tha,Itna tem ho gela hai,tere ko dekha bhi nai,Akha life mei tere jesa 1...

Find Popular Searches in the web solutions Development Outsourcing

cheap internet marketing web design birmingham website hosting website submission ecommerce web hosting content management systems strategic internet marketing...

Some easy steps you can take to tackle a flu / swine flu virus of any kind

It is essential to remember that all kinds of viruses and bacteria can attack you when your immune system...

Mobile Phone Etiquettes – all good things should be enjoyed responsibly

We all love our mobiles… we talk, we text, we listen to music and we stay in touch.Can we...

Adsense Alternatives – available to webmasters wishing to monetize the web

Here are the Adsense Alternatives that are available to webmasters wishing to monetize the web! Adbrite AdEngage Adgenta Adhearus...

Worldwide Mobile Operator MMSC Settings – For receiving and sending MMS

Worldwide Mobile Operator MMSC Settings Setting For receiving and sending MMS From your mobile phone or GSM Modem [Albania...