标签:style host int install pac download grep doc tmp
一、通过yum自带的工具yumdownloader
[root@host-172-16-1-35 interpreter]# rpm -ql yum-utils package yum-utils is not installed
[root@host-172-16-1-35 interpreter]# rpm -qa |grep yum-utils [root@host-172-16-1-35 interpreter]# yum -y install yum-utils*
yumdownloader docker-io
二、yum的一个插件yum-downloadonly
yum -y install yum-downloadonly
yum install --downloadonly --downloaddir=/tmp docker-io
--downloadonly 只下载
--downloaddir 下载到指定目录
标签:style host int install pac download grep doc tmp
原文地址:http://www.cnblogs.com/zeppelin/p/5906508.html