yum install --downloadonly --downloaddir=/tmp <package-name> 1.yum已安装的列表 yum list installed 转载于:https://www.cnblogs.com/jycjy/p/9530412.html