安装:
tar zxvf yum.tgz
cd yum
rpm -ivh *.rpm
rm -rf /etc/yum.repos.d/CentOS-Base.repo
vi /etc/yum.repos.d/as4-update.repo
加入:
#released updates
[update]
name=Red Hat Enterprise AS release 4 Updates
baseurl=http://ftp.chinalinuxpub.com/redhat/enterprise/updates/4AS/
gpgcheck=1
gpgkey=http://ftp.chinalinuxpub.com/redhat/enterprise/RPM-GPG-KEY-linuxpub
vi /etc/yum.repos.d/as4-base.repo
加入:
#released base
[base]
name=Red Hat Enterprise AS release 4 Updates
baseurl=http://ftp.chinalinuxpub.com/redhat/enterprise/os/i***/RedHat/
gpgcheck=1
gpgkey=http://ftp.chinalinuxpub.com/redhat/enterprise/RPM-GPG-KEY-linuxpub
然后就可以正常使用yum了.
To install Pidgin on CentOS 4 or 5, or RHEL 5, save the pidgin.repo file from above in /etc/yum.repos.d/
You can then use "yum install pidgin", or your favorite package manager, to install Pidgin
To install Pidgin on RHEL 4, add the following line to /etc/sysconfig/rhn/sources:
yum pidgin http://rpm.pidgin.im/rhel/4/$ARCH
You will also need to install the GPG signing key manually:
rpm --import http://rpm.pidgin.im/RPM-GPG-KEY-pidgin
You can then use "up2date -u pidgin" to install Pidgin.
ok ?!!!