For storing all the RPM packages installing via yum installer, add this following line to your /etc/yum.conf file.
keepcache=1
For Example:
[vichooss@spicykerala ~]$ 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:
[vichooss@spicykerala ~]$ 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/vichooss/Downloads
Comments
Post a Comment