Get Started With IP2location Debian Module

Dependencies

This library requires IP2Location BIN database to function. You may download the BIN database at


Installation

  1. Add the below mentors package list into /etc/apt/sources.list

    .deb-src http://mentors.debian.net/debian/ unstable main

  2. Download the package source.

    apt-get update
    apt-get source libip2location
    
  3. Navigate to the package.

    cd libip2location-8.0.9
  4. Start compilation.

    ./configure
    make
    
  5. Run the testing in the test folder.


IP2Location Sample Database (BIN)

The sample BIN files have a limited scope and are only valid for the following IP ranges:

  1. IPv4 : 0.0.0.0 - 7.255.255.255
  2. IPv6 : 2a04:0000:0000:0000:0000:0000:0000:0000 - 2a04:ffff:ffff:ffff:ffff:ffff:ffff:fff