[CentOS] Inquiry:yum?

Ray Van Dolson rayvd at bludgeon.org
Wed Dec 23 12:08:18 UTC 2009


On Wed, Dec 23, 2009 at 12:03:58PM +0000, hadi motamedi wrote:
> On Wed, Dec 23, 2009 at 12:00 PM, Ray Van Dolson <rayvd at bludgeon.org> wrote:
> 
> >  On Wed, Dec 23, 2009 at 11:44:16AM +0000, hadi motamedi wrote:
> > > Dear All
> > > I want to add "yum" to my CentOS 5.2 so I downloaded the rpm package from
> > > the www.pbone.net . But I didn't have success in installing it so please
> > let
> > > me know if there is another way to accomplish this job ?
> > > Thank you in advance
> >
> > Yum is installed by default in CentOS 5.x.  Just run 'yum'.
> >
> 
> Thanks for your reply . But for unknown reasons the yum is not available on
> my CentOS .
> [root at mss-1 tmp]# more /etc/redhat-release
> CentOS release 5.2 (Final)
> [root at mss-1 tmp]# yum
> -bash: yum: command not found
> Can you please let me know how can I install it ?

Strange.  What's the output of rpm -q yum?

You could manually install the RPM's from:

  http://mirror.stanford.edu/yum/pub/centos/5/os/

Pick the correct architecture... and you'll have to resolve some
dependancies manually.

Ray


More information about the CentOS mailing list