1 保留yum安装软件时下载下来的rpm包只需修改yum配置文件即可。下载下来的rpm包会自动保存在varcacheyum目录下[root@swag ~]# sed -i 's#keepcache=0#keepcache