Automic VaultAutomic Vault

brew

Install libmaxminddb with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

C library for the MaxMind DB file format. Version 1.13.3 via Homebrew; verified 2026-06-15.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install libmaxminddb

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install libmaxminddb

MacPorts ports tree · devel/libmaxminddb/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add libmaxminddb

Alpine Linux edge package indexes · libmaxminddb · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install libmaxminddb-dev

Debian stable package indexes · libmaxminddb-dev · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install libmaxminddb

Fedora Rawhide package metadata · libmaxminddb · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#libmaxminddb

nixpkgs package indexes · pkgs/by-name/li/libmaxminddb/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S libmaxminddb

Arch Linux sync databases · libmaxminddb · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install libmaxminddb-devel

openSUSE Tumbleweed package metadata · libmaxminddb-devel · source: download.opensuse.org

overview

Package summary

C library for the MaxMind DB file format

Commands and aliases

  • mmdblookup

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2013: MaxMind copyright notices in the repository begin for libmaxminddb.
  • 2010s: MaxMind DB becomes the documented binary format for GeoIP2 and GeoLite2-style IP lookup databases.
  • 2024: libmaxminddb 1.10.0 adds build options and fixes lookup behavior for databases with very large search trees.
  • 2026: libmaxminddb 1.13.0 through 1.13.3 releases fix validation, overflow, double-close, recursion-depth, and metadata edge cases.

Related projects

  • MaxMind DB is the underlying file-format specification.
  • GeoIP2 and GeoLite2 databases are the main data products commonly read through libmaxminddb.
  • Bindings in other languages and database writer tools depend on the same format and often interoperate with libmaxminddb-generated expectations.

security posture

Risk level: green

library-like package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • library-like package without higher-risk signals

Signals

  • metadata:library-like

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
mmdblookupcliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version1.13.3
manager updated2026-06-15
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/maxmind/libmaxminddb

install metadata

Package metadata

Package keybrew:libmaxminddb
Version1.13.3
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/libmaxminddb
Homepagehttps://maxmind.github.io/libmaxminddb/
Repositoryhttps://github.com/maxmind/libmaxminddb
Upstream docshttps://github.com/maxmind/libmaxminddb#readme
LicenseApache-2.0
Source archivehttps://github.com/maxmind/libmaxminddb/releases/download/1.13.3/libmaxminddb-1.13.3.tar.gz
Last updated2026-06-15T10:20:20-04:00
Pulseupdated
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namelibmaxminddb
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

libmaxminddb-dev 1.12.2-1

IP geolocation database library (development headers)

https://maxmind.github.io/libmaxminddb/

sudo apt install libmaxminddb-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: libmaxminddb
  • 1 dependencies
  • normalized package name match
  • Matched by: Libmaxminddb
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libmaxminddb-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libmaxminddb0 1.12.2-1

IP geolocation database library

https://maxmind.github.io/libmaxminddb/

sudo apt install libmaxminddb0
  • Section: libs
  • Architecture: amd64
  • Source Package: libmaxminddb
  • 1 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Libmaxminddb
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libmaxminddb0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

mmdb-bin 1.12.2-1

IP geolocation lookup command-line tool

https://maxmind.github.io/libmaxminddb/

sudo apt install mmdb-bin
  • Section: net
  • Architecture: amd64
  • Source Package: libmaxminddb
  • 2 dependencies
  • normalized package name match
  • Matched by: Libmaxminddb
Debian stable package indexes · deb.debian.org · Debian stable package indexes: mmdb-bin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

libmaxminddb

nix profile install nixpkgs#libmaxminddb
  • normalized package name match
  • Matched by: Libmaxminddb
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/li/libmaxminddb/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

libmaxminddb-dev 1.9.1-1build1

IP geolocation database library (development headers)

https://maxmind.github.io/libmaxminddb/

sudo apt install libmaxminddb-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: libmaxminddb
  • 1 dependencies
  • normalized package name match
  • Matched by: Libmaxminddb
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libmaxminddb-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libmaxminddb0 1.9.1-1build1

IP geolocation database library

https://maxmind.github.io/libmaxminddb/

sudo apt install libmaxminddb0
  • Section: libs
  • Architecture: amd64
  • Source Package: libmaxminddb
  • 1 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Libmaxminddb
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libmaxminddb0 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

mmdb-bin 1.9.1-1build1

IP geolocation lookup command-line tool

https://maxmind.github.io/libmaxminddb/

sudo apt install mmdb-bin
  • Section: universe/net
  • Architecture: amd64
  • Source Package: libmaxminddb
  • 2 dependencies
  • normalized package name match
  • Matched by: Libmaxminddb
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: mmdb-bin from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

libmaxminddb 1.13.3-r0

Maxmind GeoIP2 database library

https://github.com/maxmind/libmaxminddb

sudo apk add libmaxminddb
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: libmaxminddb
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Libmaxminddb
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libmaxminddb from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

libmaxminddb-dev 1.13.3-r0

Maxmind GeoIP2 database library (development files)

https://github.com/maxmind/libmaxminddb

sudo apk add libmaxminddb-dev
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: libmaxminddb
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Libmaxminddb
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libmaxminddb-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

libmaxminddb-doc 1.13.3-r0

Maxmind GeoIP2 database library (documentation)

https://github.com/maxmind/libmaxminddb

sudo apk add libmaxminddb-doc
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: libmaxminddb
  • normalized package name match
  • Matched by: Libmaxminddb
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libmaxminddb-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

libmaxminddb-libs 1.13.3-r0

Maxmind GeoIP2 database library (libraries)

https://github.com/maxmind/libmaxminddb

sudo apk add libmaxminddb-libs
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: libmaxminddb
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Libmaxminddb
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libmaxminddb-libs from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

libmaxminddb-static 1.13.3-r0

Maxmind GeoIP2 database library (static library)

https://github.com/maxmind/libmaxminddb

sudo apk add libmaxminddb-static
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: libmaxminddb
  • normalized package name match
  • Matched by: Libmaxminddb
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libmaxminddb-static from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

libmaxminddb 1.13.3-1.fc45

C library for reading MaxMind DB files

https://maxmind.github.io/libmaxminddb/

sudo dnf install libmaxminddb
  • License: Apache-2.0 AND BSD-3-Clause
  • Category: Unspecified
  • Architecture: i686
  • Source Package: libmaxminddb
  • 3 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Libmaxminddb
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libmaxminddb from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

libmaxminddb-devel 1.13.3-1.fc45

Development files for libmaxminddb

https://maxmind.github.io/libmaxminddb/

sudo dnf install libmaxminddb-devel
  • License: Apache-2.0 AND BSD-3-Clause
  • Category: Unspecified
  • Architecture: i686
  • Source Package: libmaxminddb
  • 3 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Libmaxminddb
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libmaxminddb-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

libmaxminddb 1.13.3-1

MaxMindDB GeoIP2 database library

https://maxmind.github.io/libmaxminddb/

sudo pacman -S libmaxminddb
  • License: Apache-2.0
  • Architecture: x86_64
  • 1 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Libmaxminddb
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: libmaxminddb from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

libmaxminddb-devel 1.13.3-1.2

Development files for the MaxMind DB file format library

https://dev.maxmind.com/

sudo zypper install libmaxminddb-devel
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: libmaxminddb
  • 2 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Libmaxminddb
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libmaxminddb-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment