Saving RPMs installed by yum

Peter Gordon peter at thecodergeek.com
Mon Nov 13 15:14:27 UTC 2006


Artur G. Sibagatullin wrote:
> Hi everybody!
> I've got a question about yum. When I upgrade my system using yum, it
> downloads packages from the Web. Can I set yum configuration so that I
> could save rpm files for my friends with the same system but without Web
> connection?

You need to ensure that Yum is configured to keep its RPM cache. To do
this, add a line that reads as follows to your /etc/yum.conf file:

keepcache=0

Then, the downloaded packages will be in the /var/yum/cache/<repository>/
directory. Copying the contents of those directories over to the other
computers should suffice. Hope that helps.
-- 
Peter Gordon (codergeek42)
This message was sent through a webmail
    interface, and thus not signed.




More information about the fedora-list mailing list