yum downloadonly

Mikkel L. Ellertson mikkel at infinity-ltd.com
Fri Jul 20 17:45:57 UTC 2007


Timothy Murphy wrote:
> I asked a while ago if there was any way
> of only downloading a package once
> and then installing it on several machine,
> and I was advised that the yum-downloadonly plugin
> would serve this purpose.
> 
> I just got round to looking at this,
> and I don't really see how to set this up.
> 
> What I would like is an option to yum, say localrepo,
> so that if I say "yum --localrepo update" then
> 
> 1. yum will look first to see if the package it wants
> is already in the directory /common/RPMS/
> (specified in some config file),
> and install it from there if it is found; and
> 
> 2. If it does not find the package locally
> it will download and install it, 
> and save a copy in /common/RPMS .
> 
> Is this already available, eg using yum localinstall ?
> 
> 
yum localupdate *.rpm

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20070720/7b0d46b1/attachment-0002.bin 


More information about the users mailing list