PDA

View Full Version : Yum



seachen
06-10-2010, 08:30 AM
i found out that my VPS dont hv yum.

how to install it?


[root@psi ~]# yum -y install gcc gcc-c++ flex autoconf automake
-bash: yum: command not found
[root@psi ~]#


I am using Centos 5 64bit

scsi
06-10-2010, 09:45 AM
You would have to install it from rpm then.

Not sure if you have 5.4 or 5.5.

http://mirror.centos.org/centos/5.4/os/x86_64/CentOS/

rpm -ivh "http://mirror.centos.org/centos/5.4/os/x86_64/CentOS/yum-3.2.22-20.el5.centos.noarch.rpm"

paulamae
06-10-2010, 10:56 PM
You would have to install it from rpm then.

Not sure if you have 5.4 or 5.5.

http://mirror.centos.org/centos/5.4/os/x86_64/CentOS/

rpm -ivh "http://mirror.centos.org/centos/5.4/os/x86_64/CentOS/yum-3.2.22-20.el5.centos.noarch.rpm"


thx... it works..