Redhat – Installing GeoIP on Redhat x86_64 es5 with no success

geoipinstallationredhatyum

I am trying to install GeoIP on my Redhat x86_64 es5 but im getting errors. The packages im trying to install is:

GeoIP-1.4.7-0.2.20090931cvs.rhel5.x86_64.rpm

GeoIP-devel-1.4.7-0.2.20090931cvs.rhel5.x86_64.rpm

And I get this warning: "warning: GeoIP-devel-1.4.7-0.2.20090931cvs.rhel5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID b56a8bac". I have done a google search and people say that I can install it with "yum install GeoIP GeoIP-devel GeoIP-data", but running that gives me a no package available notice.

Is there a kind soul out there that could assist? If you cant, please up vote this so that someone that might will see it!

Best Answer

I have previously used this for the same packages.. (EPEL)

rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm

To search for correct packages try..

yum search geoip

Then simply installing should be as you already have been answered..

Note: when installing the EPEL.. accept the GPG key ( so you dont need to do it on every install)

How do I know that a package is a EPEL package????

All EPEL packages are signed with the EPEL gpg-key. The public key with id 217521F6 is part of the epel-release package; yum will ask you to import it the first time you install a EPEL package.