Re: Saving RPMs installed by yum

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux