Yum on Linux System

Yum on Linux System

download the file
>wget http://www.parallels.com.cn/downloads/Prima/Tools/yum_forAS4.tar.gz

unzip the file
>tar zxvf yum_forAS4.tar.gz
>cd yum_forAS4

Install all the rpm packages
>sudo rpm -ivh *.rpm

copy the repo file to the right directory
>sudo cp CentOS-Base.repo /etc/yum.repos.d/

import the GPG key
>sudo rpm --import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-4

try to download and install one software to test it.
>sudo yum install httpd-devel

references:
http://blog.csdn.net/wade23/article/details/5440633
http://peiyan.blog.51cto.com/344889/177666

猜你喜欢

转载自sillycat.iteye.com/blog/1154047