On Wed, Dec 23, 2009 at 12:08 PM, Ray Van Dolson <rayvd@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@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@mss-1 tmp]# more /etc/redhat-release
> CentOS release 5.2 (Final)
> [root@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@centos.org
http://lists.centos.org/mailman/listinfo/centos

 
 
The output is as :
[root@mss-1 tmp]# rpm -qa |grep yum
yum-arch-2.2.2-2.el5.kb