- 默认root目录
- 下载yum-3.2.28.tar.gz压缩包
wget http://yum.baseurl.org/download/3.2/yum-3.2.28.tar.gz
- 解压
tar xvf yum-3.2.28.tar.gz
- 创建yum配置文件
touch /etc/yum.conf
- 进入到yum-3.2.28
cd yum-3.2.28
- 运行安装命令
./yummain.py install yum
wget http://yum.baseurl.org/download/3.2/yum-3.2.28.tar.gz
tar xvf yum-3.2.28.tar.gz
touch /etc/yum.conf
cd yum-3.2.28
./yummain.py install yum
转载于:https://my.oschina.net/discussjava/blog/3095217