macOS
brew install libmaxminddblocal Homebrew formula metadata
sudo port install libmaxminddbMacPorts ports tree · devel/libmaxminddb/Portfile · 来源: api.github.com
安装
brew install libmaxminddblocal Homebrew formula metadata
sudo port install libmaxminddbMacPorts ports tree · devel/libmaxminddb/Portfile · 来源: api.github.com
sudo apk add libmaxminddbAlpine Linux edge package indexes · libmaxminddb · 来源: dl-cdn.alpinelinux.org
sudo dnf install libmaxminddbFedora Rawhide package metadata · libmaxminddb · 来源: dl.fedoraproject.org
nix profile install nixpkgs#libmaxminddbnixpkgs package indexes · pkgs/by-name/li/libmaxminddb/package.nix · 来源: api.github.com
sudo pacman -S libmaxminddbArch Linux sync databases · libmaxminddb · 来源: geo.mirror.pkgbuild.com
sudo apt install libmaxminddb-devDebian stable package indexes · libmaxminddb-dev · 来源: deb.debian.org
sudo zypper install libmaxminddb-developenSUSE Tumbleweed package metadata · libmaxminddb-devel · 来源: download.opensuse.org
概览
C library for the MaxMind DB file format
历史
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.
安全态势
library-like package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
mmdblookup | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
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 |
| Pulse | updated |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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-devel来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.