[CentOS] Inquiry:yum?

Wed Dec 23 12:12:16 UTC 2009
hadi motamedi <motamedi24 at gmail.com>

On Wed, Dec 23, 2009 at 12:08 PM, Ray Van Dolson <rayvd at bludgeon.org> wrote:

> 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
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



The output is as :
[root at mss-1 tmp]# rpm -qa |grep yum
yum-arch-2.2.2-2.el5.kb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20091223/51d0f56d/attachment-0005.html>