macOS
brew install libmaxminddblocal Homebrew formula metadata
sudo port install libmaxminddbMacPorts ports tree · devel/libmaxminddb/Portfile · source: api.github.com
brew
C library for the MaxMind DB file format. Version 1.13.3 via Homebrew; verified 2026-06-15.
install
brew install libmaxminddblocal Homebrew formula metadata
sudo port install libmaxminddbMacPorts ports tree · devel/libmaxminddb/Portfile · source: api.github.com
sudo apk add libmaxminddbAlpine Linux edge package indexes · libmaxminddb · source: dl-cdn.alpinelinux.org
sudo apt install libmaxminddb-devDebian stable package indexes · libmaxminddb-dev · source: deb.debian.org
sudo dnf install libmaxminddbFedora Rawhide package metadata · libmaxminddb · source: dl.fedoraproject.org
nix profile install nixpkgs#libmaxminddbnixpkgs package indexes · pkgs/by-name/li/libmaxminddb/package.nix · source: api.github.com
sudo pacman -S libmaxminddbArch Linux sync databases · libmaxminddb · source: geo.mirror.pkgbuild.com
sudo zypper install libmaxminddb-developenSUSE Tumbleweed package metadata · libmaxminddb-devel · source: download.opensuse.org
overview
C library for the MaxMind DB file format
history
libmaxminddb is MaxMind's C reader library for MaxMind DB files, the binary database format used by MaxMind GeoIP and GeoLite datasets. It packages IP-address lookup against a compact database into a C library and the mmdblookup command-line tool.
MaxMind introduced libmaxminddb as the native C implementation for reading MaxMind DB files. The repository describes the format as a custom binary format for fast IP-address lookups with flexible associated data, and links to the public MaxMind DB specification.
The MaxMind DB specification documents a binary search tree, data section, and metadata area. That format became the foundation for MaxMind's newer GeoIP database distribution and replaced older GeoIP Legacy database handling in many downstream systems.
The library is distributed by MaxMind and is packaged broadly across Unix-like systems, including Homebrew, Debian, Ubuntu, Fedora, Alpine, Arch, MacPorts, Nix, and openSUSE. MaxMind's README also documents installation through its Ubuntu PPA and through Homebrew or MacPorts on macOS.
Its adoption follows the adoption of GeoIP2 and GeoLite2 database files: web servers, analytics systems, fraud tooling, CDN infrastructure, and log-processing tools need a small local reader for IP geolocation databases.
Applications link libmaxminddb to open .mmdb files and look up IPv4 or IPv6 addresses. Operators use mmdblookup for debugging, inspection, and shell-level checks against database files.
The package does not provide the GeoIP data itself; it provides the reader and utility around MaxMind DB files. That separation is why it appears as a library dependency in many packages that leave database download or licensing to the user.
libmaxminddb is important because it is the small ABI-stable-ish native reader sitting underneath a large amount of geolocation plumbing. Packaging it correctly gives higher-level bindings and tools one common implementation for the MaxMind DB format.
For package maintainers, it is also an example of a data-format reader whose security profile matters: release notes include fixes for crafted database files, integer overflow, recursion depth, and mmdblookup behavior.
security posture
library-like package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
mmdblookup | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/maxmind/libmaxminddb
install metadata
| Package key | brew:libmaxminddb |
|---|---|
| Version | 1.13.3 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/libmaxminddb |
| Homepage | https://maxmind.github.io/libmaxminddb/ |
| Repository | https://github.com/maxmind/libmaxminddb |
| Upstream docs | https://github.com/maxmind/libmaxminddb#readme |
| License | Apache-2.0 |
| Source archive | https://github.com/maxmind/libmaxminddb/releases/download/1.13.3/libmaxminddb-1.13.3.tar.gz |
| Last updated | 2026-06-15T10:20:20-04:00 |
| Pulse | updated |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | libmaxminddb |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
libmaxminddb-dev 1.12.2-1
IP geolocation database library (development headers)
https://maxmind.github.io/libmaxminddb/
sudo apt install libmaxminddb-devlibmaxminddb0 1.12.2-1
IP geolocation database library
https://maxmind.github.io/libmaxminddb/
sudo apt install libmaxminddb0mmdb-bin 1.12.2-1
IP geolocation lookup command-line tool
https://maxmind.github.io/libmaxminddb/
sudo apt install mmdb-binlibmaxminddb
nix profile install nixpkgs#libmaxminddblibmaxminddb-dev 1.9.1-1build1
IP geolocation database library (development headers)
https://maxmind.github.io/libmaxminddb/
sudo apt install libmaxminddb-devlibmaxminddb0 1.9.1-1build1
IP geolocation database library
https://maxmind.github.io/libmaxminddb/
sudo apt install libmaxminddb0mmdb-bin 1.9.1-1build1
IP geolocation lookup command-line tool
https://maxmind.github.io/libmaxminddb/
sudo apt install mmdb-binlibmaxminddb 1.13.3-r0
Maxmind GeoIP2 database library
https://github.com/maxmind/libmaxminddb
sudo apk add libmaxminddblibmaxminddb-dev 1.13.3-r0
Maxmind GeoIP2 database library (development files)
https://github.com/maxmind/libmaxminddb
sudo apk add libmaxminddb-devlibmaxminddb-doc 1.13.3-r0
Maxmind GeoIP2 database library (documentation)
https://github.com/maxmind/libmaxminddb
sudo apk add libmaxminddb-doclibmaxminddb-libs 1.13.3-r0
Maxmind GeoIP2 database library (libraries)
https://github.com/maxmind/libmaxminddb
sudo apk add libmaxminddb-libslibmaxminddb-static 1.13.3-r0
Maxmind GeoIP2 database library (static library)
https://github.com/maxmind/libmaxminddb
sudo apk add libmaxminddb-staticlibmaxminddb 1.13.3-1.fc45
C library for reading MaxMind DB files
https://maxmind.github.io/libmaxminddb/
sudo dnf install libmaxminddblibmaxminddb-devel 1.13.3-1.fc45
Development files for libmaxminddb
https://maxmind.github.io/libmaxminddb/
sudo dnf install libmaxminddb-devellibmaxminddb 1.13.3-1
MaxMindDB GeoIP2 database library
https://maxmind.github.io/libmaxminddb/
sudo pacman -S libmaxminddblibmaxminddb-devel 1.13.3-1.2
Development files for the MaxMind DB file format library
sudo zypper install libmaxminddb-develsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.