Saving RPMs installed by yum
Ed Greshko
Ed.Greshko at greshko.com
Mon Nov 13 15:19:36 UTC 2006
Peter Gordon wrote:
> 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
That should be keepcache=1
keepcache
Either ‘1’ or ‘0’. Determines whether or not yum keeps the
cache of headers and packages after succesful installation.
Default is ’1’ (keep files)
>
> 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.
--
(1) Never draw what you can copy.
(2) Never copy what you can trace.
(3) Never trace what you can cut out and paste down.
More information about the fedora-list
mailing list