macOS
brew install lmdblocal Homebrew formula metadata
sudo port install lmdbMacPorts ports tree · databases/lmdb/Portfile · source: api.github.com
brew
Lightning memory-mapped database: key-value data store. Version 0.9.35 via Homebrew; verified 2026-06-13.
install
brew install lmdblocal Homebrew formula metadata
sudo port install lmdbMacPorts ports tree · databases/lmdb/Portfile · source: api.github.com
sudo apk add lmdbAlpine Linux edge package indexes · lmdb · source: dl-cdn.alpinelinux.org
sudo apt install liblmdb-devDebian stable package indexes · liblmdb-dev · source: deb.debian.org
sudo dnf install lmdbFedora Rawhide package metadata · lmdb · source: dl.fedoraproject.org
nix profile install nixpkgs#lmdbnixpkgs package indexes · pkgs/by-name/lm/lmdb/package.nix · source: api.github.com
sudo pacman -S lmdbArch Linux sync databases · lmdb · source: geo.mirror.pkgbuild.com
sudo zypper install liblmdb-0_9_35openSUSE Tumbleweed package metadata · liblmdb-0_9_35 · source: download.opensuse.org
overview
Lightning memory-mapped database: key-value data store
history
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.
security posture
broad file, network, media, or database tool signal.
blue risk · medium confidence · tool
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
mdb_copy | cli | global executable | |
mdb_dump | cli | global executable | |
mdb_load | cli | global executable | |
mdb_stat | cli | global executable |
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.
https://www.symas.com/symas-embedded-database-lmdb
install metadata
| Package key | brew:lmdb |
|---|---|
| Version | 0.9.35 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/lmdb |
| Homepage | https://www.symas.com/symas-embedded-database-lmdb |
| Repository | https://git.openldap.org/openldap/openldap |
| Upstream docs | https://git.openldap.org/openldap/openldap/-/tree/mdb.master/libraries/liblmdb |
| License | OLDAP-2.8 |
| Source archive | https://git.openldap.org/openldap/openldap/-/archive/LMDB_0.9.35/openldap-LMDB_0.9.35.tar.bz2 |
| Last updated | 2026-06-13T23:35:02+02:00 |
| Pulse | updated |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
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-docsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.