Binary package “geoip-database” in ubuntu precise
IP lookup command line tools that use the GeoIP library (country database)
GeoIP is a C library that enables the user to find the country that any
IP address or hostname originates from. It uses a file based database.
.
This database simply contains IP blocks as keys, and countries as values and
it should be more complete and accurate than using reverse DNS lookups.
.
This package contains the free GeoLiteCountry database.