Skip to content

Instantly share code, notes, and snippets.

@Twwy
Last active December 16, 2015 04:58
Show Gist options
  • Save Twwy/5380661 to your computer and use it in GitHub Desktop.
Save Twwy/5380661 to your computer and use it in GitHub Desktop.

安装yum-utils,这样就可以使用yumdownloader工具。

yum -y install yum-utils

然后就可以直接进行下载,比如。

yumdownloader httpd

就会下载到当前的路径下,同样也可以选择某个源下载。

yumdownloader httpd --enablerepo test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment