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
...
- 12-23-2011 #1Just Joined!
- Join Date
- Dec 2011
- Posts
- 32
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
- 04-17-2012 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,975
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!


Reply With Quote