如发现没有装能够选换国内源,而后数据库
[root@centos yum.repos.d]# yum search locatecentos
会有提示spa
mlocate.x86_64 : An utility for finding files by name
which.x86_64 : Displays where a particular program in your path is located
而后安装.net
[root@centos yum.repos.d]# yum install mlocate.x86_64get
再更新搜索数据库it
[root@centos yum.repos.d]# updatedbclass