Save the downloaded rpm package yum

Save the downloaded rpm package yum

1 [root@bogon pluginconf.d]# vim /etc/yum.conf

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

The keepcache = 0 instead keepcache = 1, save and exit

 

Guess you like

Origin www.cnblogs.com/lulin9501/p/11091438.html