在Centos问题上使用yum安装GeoIP包

在Centos问题上使用yum安装GeoIP包,centos,yum,geo,Centos,Yum,Geo,我试图从geo-ip获取db文件,但是我的文件夹/usr/share/GeoIP文件夹总是空的。运行时:yum安装GeoIP,我收到消息: Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirrors.xtom.nl * epel: mirror.hostnet.nl * extras: mirror.seedvps.com * updates: mirror.dataon

我试图从geo-ip获取db文件,但是我的文件夹
/usr/share/GeoIP
文件夹总是空的。运行时:
yum安装GeoIP
,我收到消息:

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.xtom.nl
 * epel: mirror.hostnet.nl
 * extras: mirror.seedvps.com
 * updates: mirror.dataone.nl
Package GeoIP-1.5.0-14.el7.x86_64 already installed and latest version
Nothing to do
知道我的文件夹为什么是空的吗?PS:我删除了
GeoIP文件夹(使用旧版本的db),并手动重新创建了它


Thnx

似乎是包在不同的目录中定位文件。您可以使用以下命令检查文件的位置:

rpm -ql GeoIP