Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Jun 2024 23:09:50 +0200
From:      Per olof Ljungmark <peo@nethead.se>
To:        questions@freebsd.org
Subject:   Re: How to install geoiplookup?
Message-ID:  <b33a4c0a-64dd-498a-b40d-0142f597975b@nethead.se>
In-Reply-To: <202406071553.40403.rody@dds.nl>
References:  <202406071553.40403.rody@dds.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On 2024-06-07 15:53, Rody wrote:
> Hi everyone,
> 
> Trying to prepare myself to get command line geoip lookups working. Running
> 13.3-RELEASE-p1 of freebsd. It seems the pkg libmaxminddb is installed by
> default but missing the tools to access the data.
> 
> The following page tells me to install the libmaxminddb via ports:
> https://forums.freebsd.org/threads/geoiplookup-for-the-new-geolite2-country-db.69866/
> But it does not include info for when you've never used ports before.
> 
> The following page tell what to do to get started with ports:
> https://docs.freebsd.org/en/books/handbook/ports/
> And tells me that if ports was not installed during install, I should use a
> series of commands to use git.

[...]

Try,

% cd /usr
% fetch http://ftp.freebsd.org/pub/FreeBSD/ports/ports/ports.tar.gz
% tar -xvzf ports.tar.gz [lots of output]
% whereis libmaxminddb
/usr/ports/net/libmaxminddb
% cd /usr/ports/net/libmaxminddb
su
# make install clean

Per


> Rody
> 
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b33a4c0a-64dd-498a-b40d-0142f597975b>