# libmaxminddb を Homebrew, apk, dnf, MacPorts, Nix, pacman, apt, zypper でインストール

libmaxminddb のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:libmaxminddb
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install libmaxminddb
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install libmaxminddb
```

  証拠: MacPorts ports tree: devel/libmaxminddb/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add libmaxminddb
```

  証拠: Alpine Linux edge package indexes: libmaxminddb from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install libmaxminddb
```

  証拠: Fedora Rawhide package metadata: libmaxminddb from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#libmaxminddb
```

  証拠: nixpkgs package indexes: pkgs/by-name/li/libmaxminddb/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S libmaxminddb
```

  証拠: Arch Linux sync databases: libmaxminddb from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- Debian apt (92%):

```sh
sudo apt install libmaxminddb-dev
```

  証拠: Debian stable package indexes: libmaxminddb-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- zypper (92%):

```sh
sudo zypper install libmaxminddb-devel
```

  証拠: openSUSE Tumbleweed package metadata: libmaxminddb-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:libmaxminddb
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.13.3
- **ソース概要:** C library for the MaxMind DB file format
- **ホームページ:** <https://maxmind.github.io/libmaxminddb/>
- **リポジトリ:** <https://github.com/maxmind/libmaxminddb>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- mmdblookup (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 1.13.3
## プロジェクトの歴史と使われ方

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.

### タイムライン

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

### ソース

- <https://dev.maxmind.com/geoip/docs/databases/>
- <https://formulae.brew.sh/formula/libmaxminddb>
- <https://github.com/maxmind/libmaxminddb>
- <https://github.com/maxmind/libmaxminddb/releases>
- <https://maxmind.github.io/MaxMind-DB/>
- <https://maxmind.github.io/libmaxminddb/>


## セキュリティノート

library-like package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- library-like package without higher-risk signals

## 他のパッケージマネージャ記録

- Debian apt - libmaxminddb-dev - 1.12.2-1: normalized package name match | Debian stable package indexes: libmaxminddb-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | IP geolocation database library (development headers) | https://maxmind.github.io/libmaxminddb/
- Debian apt - libmaxminddb0 - 1.12.2-1: normalized package name match | Debian stable package indexes: libmaxminddb0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | IP geolocation database library | https://maxmind.github.io/libmaxminddb/
- Debian apt - mmdb-bin - 1.12.2-1: normalized package name match | Debian stable package indexes: mmdb-bin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | IP geolocation lookup command-line tool | https://maxmind.github.io/libmaxminddb/
- Nix - libmaxminddb: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/libmaxminddb/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libmaxminddb-dev - 1.9.1-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libmaxminddb-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | IP geolocation database library (development headers) | https://maxmind.github.io/libmaxminddb/
- Ubuntu apt - libmaxminddb0 - 1.9.1-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libmaxminddb0 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | IP geolocation database library | https://maxmind.github.io/libmaxminddb/
- Ubuntu apt - mmdb-bin - 1.9.1-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: mmdb-bin from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | IP geolocation lookup command-line tool | https://maxmind.github.io/libmaxminddb/
- apk - libmaxminddb - 1.13.3-r0: normalized package name match | Alpine Linux edge package indexes: libmaxminddb from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Maxmind GeoIP2 database library | https://github.com/maxmind/libmaxminddb
- apk - libmaxminddb-dev - 1.13.3-r0: normalized package name match | Alpine Linux edge package indexes: libmaxminddb-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Maxmind GeoIP2 database library (development files) | https://github.com/maxmind/libmaxminddb
- apk - libmaxminddb-doc - 1.13.3-r0: normalized package name match | Alpine Linux edge package indexes: libmaxminddb-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Maxmind GeoIP2 database library (documentation) | https://github.com/maxmind/libmaxminddb
- apk - libmaxminddb-libs - 1.13.3-r0: normalized package name match | Alpine Linux edge package indexes: libmaxminddb-libs from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Maxmind GeoIP2 database library (libraries) | https://github.com/maxmind/libmaxminddb
- apk - libmaxminddb-static - 1.13.3-r0: normalized package name match | Alpine Linux edge package indexes: libmaxminddb-static from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Maxmind GeoIP2 database library (static library) | https://github.com/maxmind/libmaxminddb
- dnf - libmaxminddb - 1.13.3-2.fc45: normalized package name match | Fedora Rawhide package metadata: libmaxminddb from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | C library for reading MaxMind DB files | https://maxmind.github.io/libmaxminddb/
- dnf - libmaxminddb-devel - 1.13.3-2.fc45: normalized package name match | Fedora Rawhide package metadata: libmaxminddb-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development files for libmaxminddb | https://maxmind.github.io/libmaxminddb/
- pacman - libmaxminddb - 1.13.3-1: normalized package name match | Arch Linux sync databases: libmaxminddb from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | MaxMindDB GeoIP2 database library | https://maxmind.github.io/libmaxminddb/
- zypper - libmaxminddb-devel - 1.13.3-1.4: normalized package name match | openSUSE Tumbleweed package metadata: libmaxminddb-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Development files for the MaxMind DB file format library | https://dev.maxmind.com/


## Combined YAML source

View the package source record on GitHub. [combined/libmaxminddb.yml](https://github.com/mxcl/pkgdb/blob/main/combined/libmaxminddb.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
