本文共 503 字,大约阅读时间需要 1 分钟。
--downloadonly 只下载不按照
--downloaddir 指点下载的目录[root@localhost /]# yum install vim-enhanced --downloadonly --downloaddir=/tmp/ 已加载插件:fastestmirrorRepository epel is listed more than once in the configurationRepository epel-debuginfo is listed more than once in the configurationRepository epel-source is listed more than once in the configuration
[root@localhost /]# yum reinstall vim-enhanced --downloadonly --downloaddir=/tmp/
转载于:https://blog.51cto.com/sdwaqw/2059185