yum is not work in centos

How do you know its not working? Does it give an error?
 
when i type "yum -y install gcc gcc-c++ flex autoconf automake "

it show nothing. how to install yum into vps?
 

Thanks a lot. But it have the error at "make" step.

[root@vps3092 yum-2.0.7]# make
for subdir in bin etc docs po ; do \
make -C $subdir ; \
done
make[1]: Entering directory `/root/yum/yum-2.0.7/bin'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/yum/yum-2.0.7/bin'
make[1]: Entering directory `/root/yum/yum-2.0.7/etc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/yum/yum-2.0.7/etc'
make[1]: Entering directory `/root/yum/yum-2.0.7/docs'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/yum/yum-2.0.7/docs'
make[1]: Entering directory `/root/yum/yum-2.0.7/po'
for cat in cs.po es.po ru.po uk.po; do \
lang=`basename $cat .po`; \
if msgmerge -v $lang.po yum.pot > $lang.pot ; then \
mv -f $lang.pot $lang.po ; \
echo "msgmerge -v of $lang succeeded" ; \
else \
echo "msgmerge -v of $lang failed" ; \
rm -f $lang.pot ; \
fi \
done
/bin/sh: line 2: msgmerge: command not found
msgmerge -v of cs failed
/bin/sh: line 2: msgmerge: command not found
msgmerge -v of es failed
/bin/sh: line 2: msgmerge: command not found
msgmerge -v of ru failed
/bin/sh: line 2: msgmerge: command not found
msgmerge -v of uk failed
msgfmt --statistics --verbose -o cs.mo cs.po
make[1]: msgfmt: Command not found
make[1]: *** [cs.mo] Error 127
make[1]: Leaving directory `/root/yum/yum-2.0.7/po'
make: *** [all] Error 2
[root@vps3092 yum-2.0.7]#

Do you know how to solve this?
 
Back
Top