$ yum makecache # 把服务器的包信息下载到本地电脑缓存起来,makecache建立一个缓存 # 以后用install时就在缓存中搜索,提高了速度。 # 配合yum -C search xxx使用,不用联网检索就能查找软件信息 $ yum clean all # 清理缓存