Automic VaultAutomic Vault

brew

Install lmdb with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

Lightning memory-mapped database: key-value data store. Version 0.9.35 via Homebrew; verified 2026-06-13.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install lmdb

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install lmdb

MacPorts ports tree · databases/lmdb/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add lmdb

Alpine Linux edge package indexes · lmdb · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install liblmdb-dev

Debian stable package indexes · liblmdb-dev · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install lmdb

Fedora Rawhide package metadata · lmdb · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#lmdb

nixpkgs package indexes · pkgs/by-name/lm/lmdb/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S lmdb

Arch Linux sync databases · lmdb · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install liblmdb-0_9_35

openSUSE Tumbleweed package metadata · liblmdb-0_9_35 · source: download.opensuse.org

overview

Package summary

Lightning memory-mapped database: key-value data store

Commands and aliases

  • mdb_copy
  • mdb_dump
  • mdb_load
  • mdb_stat

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2011: LMDB/MDB development becomes visible in the OpenLDAP source history.
  • 2012: The 0.9 series renames libmdb to liblmdb.
  • 2010s: Linux and Unix package managers adopt LMDB as both a library package and a utility package.
  • 2020s: OpenLDAP GitLab and lmdb.tech remain the main official source and API documentation surfaces.

Related projects

  • OpenLDAP is the parent project and original deployment driver for LMDB.
  • Berkeley DB is the older embedded database API family that LMDB's documentation says it is loosely modeled on.
  • Language bindings and wrappers expose LMDB to ecosystems such as Python, Go, Rust, Java, Ruby, and Node.js.

security posture

Risk level: blue

broad file, network, media, or database tool signal.

Risk classifier

blue risk · medium confidence · tool

Why

  • broad file, network, media, or database tool signal

Signals

  • text:database

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
mdb_copycliglobal executable
mdb_dumpcliglobal executable
mdb_loadcliglobal executable
mdb_statcliglobal executable

freshness

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

page generated2026-07-08
manager version0.9.35
manager updated2026-06-13
local dataok
upstreamnot checked
latest detectednot detected

https://www.symas.com/symas-embedded-database-lmdb

install metadata

Package metadata

Package keybrew:lmdb
Version0.9.35
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/lmdb
Homepagehttps://www.symas.com/symas-embedded-database-lmdb
Repositoryhttps://git.openldap.org/openldap/openldap
Upstream docshttps://git.openldap.org/openldap/openldap/-/tree/mdb.master/libraries/liblmdb
LicenseOLDAP-2.8
Source archivehttps://git.openldap.org/openldap/openldap/-/archive/LMDB_0.9.35/openldap-LMDB_0.9.35.tar.bz2
Last updated2026-06-13T23:35:02+02:00
Pulseupdated
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namelmdb
Version Scheme1
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

liblmdb-dev 0.9.31-1+b2

Lightning Memory-Mapped Database development files

https://symas.com/mdb/

sudo apt install liblmdb-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: lmdb
  • 1 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Lmdb
Debian stable package indexes · deb.debian.org · Debian stable package indexes: liblmdb-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

liblmdb0 0.9.31-1+b2

Lightning Memory-Mapped Database shared library

https://symas.com/mdb/

sudo apt install liblmdb0
  • Section: libs
  • Architecture: amd64
  • Source Package: lmdb
  • 1 dependencies
  • normalized package name match
  • Matched by: Lmdb
Debian stable package indexes · deb.debian.org · Debian stable package indexes: liblmdb0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

lmdb-doc 0.9.31-1

Lightning Memory-Mapped Database doxygen documentation

https://symas.com/mdb/

sudo apt install lmdb-doc
  • Section: doc
  • Architecture: all
  • Source Package: lmdb
  • normalized package name match
  • Matched by: Lmdb
Debian stable package indexes · deb.debian.org · Debian stable package indexes: lmdb-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

lmdb-utils 0.9.31-1+b2

Lightning Memory-Mapped Database Utilities

https://symas.com/mdb/

sudo apt install lmdb-utils
  • Section: database
  • Architecture: amd64
  • Source Package: lmdb
  • 1 dependencies
  • normalized package name match
  • Matched by: Lmdb
Debian stable package indexes · deb.debian.org · Debian stable package indexes: lmdb-utils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

lmdb

nix profile install nixpkgs#lmdb
  • normalized package name match
  • Matched by: Lmdb
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/lm/lmdb/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

liblmdb-dev 0.9.31-1build1

Lightning Memory-Mapped Database development files

https://symas.com/mdb/

sudo apt install liblmdb-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: lmdb
  • 1 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Lmdb
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: liblmdb-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

liblmdb0 0.9.31-1build1

Lightning Memory-Mapped Database shared library

https://symas.com/mdb/

sudo apt install liblmdb0
  • Section: libs
  • Architecture: amd64
  • Source Package: lmdb
  • 1 dependencies
  • normalized package name match
  • Matched by: Lmdb
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: liblmdb0 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

lmdb-doc 0.9.31-1build1

Lightning Memory-Mapped Database doxygen documentation

https://symas.com/mdb/

sudo apt install lmdb-doc
  • Section: doc
  • Architecture: all
  • Source Package: lmdb
  • normalized package name match
  • Matched by: Lmdb
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: lmdb-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

lmdb-utils 0.9.31-1build1

Lightning Memory-Mapped Database Utilities

https://symas.com/mdb/

sudo apt install lmdb-utils
  • Section: universe/database
  • Architecture: amd64
  • Source Package: lmdb
  • 1 dependencies
  • normalized package name match
  • Matched by: Lmdb
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: lmdb-utils from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

lmdb 0.9.35-r0

Lightning Memory-Mapped Database

https://symas.com/lmdb/

sudo apk add lmdb
  • License: OLDAP-2.8
  • Architecture: x86_64
  • Source Package: lmdb
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Lmdb
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: lmdb from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

lmdb-dev 0.9.35-r0

Lightning Memory-Mapped Database (development files)

https://symas.com/lmdb/

sudo apk add lmdb-dev
  • License: OLDAP-2.8
  • Architecture: x86_64
  • Source Package: lmdb
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Lmdb
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: lmdb-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

lmdb-doc 0.9.35-r0

Lightning Memory-Mapped Database (documentation)

https://symas.com/lmdb/

sudo apk add lmdb-doc
  • License: OLDAP-2.8
  • Architecture: x86_64
  • Source Package: lmdb
  • normalized package name match
  • Matched by: Lmdb
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: lmdb-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

lmdb-tools 0.9.35-r0

Lightning Memory-Mapped Database

https://symas.com/lmdb/

sudo apk add lmdb-tools
  • License: OLDAP-2.8
  • Architecture: x86_64
  • Source Package: lmdb
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Lmdb
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: lmdb-tools from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

lmdb 0.9.34-2.fc44

Memory-mapped key-value database

https://www.symas.com/lmdb

sudo dnf install lmdb
  • License: OLDAP-2.8
  • Category: Unspecified
  • Architecture: i686
  • Source Package: lmdb
  • 4 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Lmdb
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: lmdb from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

lmdb-devel 0.9.34-2.fc44

Development files for lmdb

https://www.symas.com/lmdb

sudo dnf install lmdb-devel
  • License: OLDAP-2.8
  • Category: Unspecified
  • Architecture: i686
  • Source Package: lmdb
  • 3 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Lmdb
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: lmdb-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

lmdb-doc 0.9.34-2.fc44

Documentation files for lmdb

https://www.symas.com/lmdb

sudo dnf install lmdb-doc
  • License: OLDAP-2.8
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: lmdb
  • 1 provides
  • normalized package name match
  • Matched by: Lmdb
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: lmdb-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • 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