使用Yum下载RPM包-进击的二狗子-51CTO博客
https://www.2cto.com/os/201905/807225.html
yumdownloader 命令
yum install yum-utils
语法:yumdownloader rpmname --resolve --destdir=/path
yum --downloadonly 命令
CentOS/RHEL 6之前的版本需先下载安装 yum-plugin-downloadonly
yum install yum-plugin-downloadonly
语法: yum install --downloadonly --downloaddir=/path <package-name>
原文地址:https://www.cnblogs.com/jinanxiaolaohu/p/11043359.html
时间: 2024-10-02 07:22:44