unixman83 Asked: 2012-03-25 03:56:40 +0800 CST2012-03-25 03:56:40 +0800 CST 2012-03-25 03:56:40 +0800 CST Installing GeoIP on CentOS 772 On CentOS 6 I cannot install GeoIP even though many websites describe installing GeoIP with the following commands: yum install GeoIP GeoIP-devel GeoIP-data I get No package GeoIP available. centos centos6 geoip 2 Answers Voted Best Answer zaub3r3r 2012-03-25T04:12:54+08:002012-03-25T04:12:54+08:00 Seems like you need to add an additional repository. In CentOS5 the Geoip stuff was located in Centos Extras. Check out this link: http://wiki.centos.org/AdditionalResources/Repositories If the package is not in Extras try out the EPEL repo (howto is in the link above), they have the packages: http://dl.fedoraproject.org/pub/epel/6/x86_64/repoview/letter_g.group.html John 2017-01-25T16:18:22+08:002017-01-25T16:18:22+08:00 Expanding on the accepted answer above by @zaub3r3r - (Sorry I don't have enough rep to comment here) GeoIP is in EPEL. You might have it but it may not be enabled - if this is the case then try: yum -y --enablerepo=epel install geoip This had me stumped for ages today until I realised what was going on.
Seems like you need to add an additional repository. In CentOS5 the Geoip stuff was located in Centos Extras. Check out this link: http://wiki.centos.org/AdditionalResources/Repositories
If the package is not in Extras try out the EPEL repo (howto is in the link above), they have the packages: http://dl.fedoraproject.org/pub/epel/6/x86_64/repoview/letter_g.group.html
Expanding on the accepted answer above by @zaub3r3r - (Sorry I don't have enough rep to comment here)
GeoIP is in EPEL. You might have it but it may not be enabled - if this is the case then try:
This had me stumped for ages today until I realised what was going on.