1 Comes with a tool through yum: yumdownloader
rpm -qa |grep yum-utils yum -y install yum-utils* rpm -ql yum-utils
You can use it directly after installation
yumdownloader vlock ls vlock-1.3-23.i386.rpm
2 Use a plug-in for yum: yum-downloadonly
yum -y install yum-downloadonly
use
yum -y install --downloadonly --downloaddir=/tmp/ vlock
The above is the detailed content of Two yum methods for downloading without installing software. For more information, please follow other related articles on the PHP Chinese website!