Results 1 to 3 of 3

Thread: Cache Folder For Online Repository

  1. #1
    Join Date
    May 2010
    Location
    Somewhere on earth
    Posts
    24

    Default Cache Folder For Online Repository

    Hi, I'm just curious, can we copy the RPM files which have been downloaded when we install software from online repository. If we can, where is the location of the folder that store them?

  2. #2

    Default Re: Cache Folder For Online Repository

    iirc you need to turn it on not sure about the yast module I more than suspect it is possible though. Though this may not be what you want after the fact as far as I know you would need to do some bash magic(installed package list) and download only(dry-run) with zypper.

    zypper equivalent of yum —downloadonly, 02/02/09, Mike's blag
    Man first, have a try at Info, have a look at Wiki, if all that fails Scroogle!!!!!
    If I've helped click on the Rep button I don't know what it does but it sounds cool.

  3. #3
    Join Date
    Jun 2008
    Location
    Kentucky, USA
    Posts
    466

    Default Re: Cache Folder For Online Repository

    The cached packages will be in /var/cache/zypp, but as Feathermonkey pointed out, the option to cache packages is not turned on by default. If you haven't enabled caching, /var/cache/zypp will be empty. You can enable caching for all repos by running
    Code:
    zypper mr -ka
    as root.
    Klaatu Barada Nikto

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •