How to install GeoIP with CPAN on Ubuntu

Written by
Date: 2013-01-06 23:01:15 00:00

To install GeoIP perl library on Ubuntu Linux run this commands:

sudo apt-get install libgeoip-dev build-essential

then enter in the CPAN shell


Follow instructions there if it is the first time you are running CPAN run the next two commands, otherwise jump to the third

make install

install Bundle::CPAN

This last command is the one that really install the GeoIP library

install Geo::IP