install yum

I have a centos 4.x box and for some reason yum is not installed on it.
Is there a howto on how to do this?

thanks!

You have access to the box and the CD/DVD of CentOS?
Place CD/DVD in drive cd to the rpm dir and then install the yum rpm

unfortunatly i dont have access to the cd could i just download the rpm from somewhere and install it?

You could go HERE and then look for a site that is close to you.
Then you just need to filter down the links to the RPM's
I think using an FTP link would be best but you can use what you want.

EX. I used PA and clicked on the following;

  1. FTP
  2. 4.7 (use what version you have installed)
  3. os
  4. i386
  5. CentOS
  6. RPMS

Then scroll to the bottom and grab the yum rpm's.
I have to be honest I don't know all the packages that you need for this but when you go to install the rpm's they should let you know.