yum cache rmp package

Edit vim /etc/yum.conf

[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=0
plugins=1
installonly_limit=3

Change keepcache=0 to keepcacche=1 to
save and exit.
Then, the packages installed and updated in the future will be saved in the /var/cache/yum/DT60SP3_Repository/packages directory.

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=327086529&siteId=291194637
Recommended