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.youkuaiyun.com/wade23/article/details/5440633
http://peiyan.blog.51cto.com/344889/177666
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.youkuaiyun.com/wade23/article/details/5440633
http://peiyan.blog.51cto.com/344889/177666
本文详细介绍了使用Yum命令从源码到安装CentOS软件包的全过程,包括下载文件、解压、安装RPM包、配置yum源、导入GPG密钥等步骤,最终测试安装成功。
1111

被折叠的 条评论
为什么被折叠?



