macOS
brew install lmdblocal Homebrew formula metadata
sudo port install lmdbMacPorts ports tree · databases/lmdb/Portfile · 来源: api.github.com
安装
brew install lmdblocal Homebrew formula metadata
sudo port install lmdbMacPorts ports tree · databases/lmdb/Portfile · 来源: api.github.com
sudo apk add lmdbAlpine Linux edge package indexes · lmdb · 来源: dl-cdn.alpinelinux.org
sudo dnf install lmdbFedora Rawhide package metadata · lmdb · 来源: dl.fedoraproject.org
nix profile install nixpkgs#lmdbnixpkgs package indexes · pkgs/by-name/lm/lmdb/package.nix · 来源: api.github.com
sudo pacman -S lmdbArch Linux sync databases · lmdb · 来源: geo.mirror.pkgbuild.com
sudo zypper install lmdbopenSUSE Tumbleweed package metadata · lmdb · 来源: download.opensuse.org
sudo apt install liblmdb-devDebian stable package indexes · liblmdb-dev · 来源: deb.debian.org
概览
Lightning memory-mapped database: key-value data store
历史
LMDB, the Lightning Memory-Mapped Database, is a small embedded transactional key-value store developed by Symas for the OpenLDAP project. Its package-manager identity is unusual because it is both a library used inside infrastructure software and a tiny suite of command-line utilities such as mdb_dump, mdb_load, mdb_copy, and mdb_stat.
The project grew out of OpenLDAP's need for a compact, fast storage engine. Symas describes LMDB as developed for OpenLDAP and emphasizes its memory-mapped design and very small object-code footprint. The OpenLDAP source documentation describes LMDB as a Btree-based database manager, loosely modeled on the Berkeley DB API but intentionally simplified by exposing the database through a memory map.
Early LMDB release history was tied to the OpenLDAP source tree and the library was renamed from libmdb to liblmdb during the 0.9 series. The public OpenLDAP tree remains the official source-control home, while lmdb.tech hosts generated API documentation from the same library interface.
LMDB spread beyond OpenLDAP because it offered a permissively licensed embedded store with transactional semantics, reader concurrency, and simple deployment as ordinary files. Package managers expose it both as development headers/libraries and as standalone utilities, which is why distributions commonly package it under names such as lmdb or liblmdb-dev.
Its adoption has been strongest in systems software that wants an embedded key-value database without a separate server process. The OpenLDAP and Symas documentation both frame LMDB as a library-first project, while the Homebrew formula records the command-line utilities that make it convenient for database inspection, backup, and conversion.
Developers normally link against liblmdb and use LMDB environments and transactions from application code. Operators and package users encounter the mdb_* tools: mdb_dump and mdb_load move database contents through portable dump formats, mdb_copy makes safe copies, and mdb_stat reports environment and database statistics.
LMDB is commonly chosen when a program needs fast local persistence with low operational overhead. Its memory-mapped model makes configuration mostly about database environment sizing and filesystem placement rather than running a daemon or maintaining credentials.
LMDB is package-nerd material because it is small, old-school C infrastructure with a large blast radius: many higher-level systems can depend on the same tiny library. It also embodies a distinctive design tradeoff, preferring OS page-cache behavior and copy-on-write pages over a heavier database server architecture.
For package maintainers, LMDB matters because ABI compatibility, headers, and the mdb_* utilities are all useful separately. It is one of those packages that looks boring in a dependency graph until a storage engine, LDAP deployment, or language binding needs it.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
mdb_copy | cli | 全局可执行文件 | |
mdb_dump | cli | 全局可执行文件 | |
mdb_load | cli | 全局可执行文件 | |
mdb_stat | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://www.symas.com/symas-embedded-database-lmdb
安装元数据
| 软件包键 | brew:lmdb |
|---|---|
| 版本 | 0.9.35 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/lmdb |
| 主页 | https://www.symas.com/symas-embedded-database-lmdb |
| 仓库 | https://git.openldap.org/openldap/openldap |
| 上游文档 | https://git.openldap.org/openldap/openldap/-/tree/mdb.master/libraries/liblmdb |
| 许可证 | OLDAP-2.8 |
| 源码归档 | https://git.openldap.org/openldap/openldap/-/archive/LMDB_0.9.35/openldap-LMDB_0.9.35.tar.bz2 |
| 最后更新 | 2026-06-13T23:35:02+02: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 | lmdb |
| Version Scheme | 1 |
| 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 软件包链接分开显示。
liblmdb-dev 0.9.31-1+b2
Lightning Memory-Mapped Database development files
sudo apt install liblmdb-devliblmdb0 0.9.31-1+b2
Lightning Memory-Mapped Database shared library
sudo apt install liblmdb0lmdb-doc 0.9.31-1
Lightning Memory-Mapped Database doxygen documentation
sudo apt install lmdb-doclmdb-utils 0.9.31-1+b2
Lightning Memory-Mapped Database Utilities
sudo apt install lmdb-utilslmdb
nix profile install nixpkgs#lmdbliblmdb-dev 0.9.31-1build1
Lightning Memory-Mapped Database development files
sudo apt install liblmdb-devliblmdb0 0.9.31-1build1
Lightning Memory-Mapped Database shared library
sudo apt install liblmdb0lmdb-doc 0.9.31-1build1
Lightning Memory-Mapped Database doxygen documentation
sudo apt install lmdb-doclmdb-utils 0.9.31-1build1
Lightning Memory-Mapped Database Utilities
sudo apt install lmdb-utilslmdb 0.9.35-r0
Lightning Memory-Mapped Database
sudo apk add lmdblmdb-dev 0.9.35-r0
Lightning Memory-Mapped Database (development files)
sudo apk add lmdb-devlmdb-doc 0.9.35-r0
Lightning Memory-Mapped Database (documentation)
sudo apk add lmdb-doclmdb-tools 0.9.35-r0
Lightning Memory-Mapped Database
sudo apk add lmdb-toolslmdb 0.9.34-2.fc44
Memory-mapped key-value database
sudo dnf install lmdblmdb-devel 0.9.34-2.fc44
Development files for lmdb
sudo dnf install lmdb-devellmdb-doc 0.9.34-2.fc44
Documentation files for lmdb
sudo dnf install lmdb-doc来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.