This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
linux:redhat_repository [2021/01/01 21:25] 127.0.0.1 external edit |
linux:redhat_repository [2022/02/28 23:34] (current) manu [Client config for yum updates] |
||
---|---|---|---|
Line 435: | Line 435: | ||
# repomanage --keep=2 --old /path/to/repo | xargs rm -f | # repomanage --keep=2 --old /path/to/repo | xargs rm -f | ||
</cli> | </cli> | ||
+ | |||
+ | ===== Save client cache updates ===== | ||
+ | |||
+ | **cachedir** Directory where yum should store its cache and db files. The default is '/var/cache/yum'. | ||
+ | persistdir Directory where yum should store information that should persist over multiple runs. The default is '/var/lib/yum'. | ||
+ | |||
+ | **keepcache Either '1' or '0'**. Determines whether or not yum keeps the cache of headers and packages after successful installation. Default is '1' (keep files) | ||
+ | |||
+ |