[clug] Yum fetching rpms to local disk

Michael Still mikal at stillhq.com
Tue Sep 7 09:26:33 MDT 2010


On 9/8/10 1:07 AM, Boris Rousak wrote:
> # yum install {your_package_name} -y --downloadonly
>
> you can even do "|--downloaddir=/opt" type of thing with it
>
> Should probably mention that its a yum add on, so first do something like:
> # yum install yum-downloadonly

Thanks! I assume its then safe to rpm -i the packages without screwing 
up some system database somewhere?

Thanks,
Mikal


More information about the linux mailing list