Find the answer to your Linux question:
Results 1 to 2 of 2
For storing all the RPM packages installing via yum installer, add this following line to your /etc/yum.conf file. keepcache=1 For Example: $ more /etc/yum.conf [main] debuglevel=2 logfile=/var/log/yum.log exactarch=1 obsoletes=1 gpgcheck=1 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2011
    Posts
    35

    Storing all the RPM packages installing via yum installer


    For storing all the RPM packages installing via yum installer, add this following line to your /etc/yum.conf file.

    keepcache=1


    For Example:


    $ more /etc/yum.conf
    [main]
    debuglevel=2
    logfile=/var/log/yum.log
    exactarch=1
    obsoletes=1
    gpgcheck=1
    plugins=1
    installonly_limit=3
    color=never
    keepcache=1

    Then all rpm packages installed via yum are stored in /var/cache/yum/*/packages.

    you can change the cache directory by specifying
    cachedir=<mydir> in yum.conf.

    For Example:

    $ more /etc/yum.conf
    [main]
    debuglevel=2
    logfile=/var/log/yum.log
    exactarch=1
    obsoletes=1
    gpgcheck=1
    plugins=1
    installonly_limit=3
    color=never
    keepcache=1
    cachedir=/home/user/Downloads

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,598
    For how-tos like this (which are REALLY appreciated - thanks!), please close them when done.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

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