Automic VaultAutomic Vault

brew

使用 Homebrew, apk, dnf, MacPorts, Nix, pacman, apt, zypper 安装 libmaxminddb

查看 libmaxminddb 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install libmaxminddb

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install libmaxminddb

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

Linux

Alpine Linux apk已验证 · 92%
sudo apk add libmaxminddb

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

Fedora dnf已验证 · 92%
sudo dnf install libmaxminddb

Fedora Rawhide package metadata · libmaxminddb · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#libmaxminddb

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

Arch Linux pacman已验证 · 92%
sudo pacman -S libmaxminddb

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

Debian apt已验证 · 92%
sudo apt install libmaxminddb-dev

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

openSUSE zypper已验证 · 92%
sudo zypper install libmaxminddb-devel

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

概览

软件包摘要

C library for the MaxMind DB file format

命令和别名

  • mmdblookup

历史

项目历史与用法

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.

安全态势

风险级别:绿色

library-like package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • library-like package without higher-risk signals

信号

  • metadata:library-like

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
mmdblookupcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本1.13.3
管理器更新时间2026-06-15
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/maxmind/libmaxminddb

安装元数据

软件包元数据

软件包键brew:libmaxminddb
版本1.13.3
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/libmaxminddb
主页https://maxmind.github.io/libmaxminddb/
仓库https://github.com/maxmind/libmaxminddb
上游文档https://github.com/maxmind/libmaxminddb#readme
许可证Apache-2.0
源码归档https://github.com/maxmind/libmaxminddb/releases/download/1.13.3/libmaxminddb-1.13.3.tar.gz
最后更新2026-06-15T10:20:20-04:00
Pulseupdated
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式: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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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