系统相关
首页 > 系统相关> > yum保存rpm包

yum保存rpm包

作者:互联网

yum保存rpm包

#!/bin/bash

[root@db01 ~]# yum --help |grep down
downgrade      downgrade a package
  --downloadonly        don't update, just download
  --downloaddir=DLDIR   specifies an alternate directory to store packages

[root@db01 ~]# yum -y install --downloaddir=/tmp/ --downloadonly perl-*

 

标签:downloaddir,--,downloadonly,保存,yum,db01,rpm
来源: https://www.cnblogs.com/zhouwanchun/p/13858068.html