# lmdb mit Homebrew, apk, dnf, MacPorts, Nix, pacman, zypper, apt installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für lmdb in AI-Agent-Workflows.

## Installation

```sh
sudo av install brew:lmdb
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install lmdb
```

  Evidenz: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install lmdb
```

  Evidenz: MacPorts ports tree: databases/lmdb/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add lmdb
```

  Evidenz: Alpine Linux edge package indexes: lmdb from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install lmdb
```

  Evidenz: Fedora Rawhide package metadata: lmdb from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#lmdb
```

  Evidenz: nixpkgs package indexes: pkgs/by-name/lm/lmdb/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S lmdb
```

  Evidenz: Arch Linux sync databases: lmdb from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install lmdb
```

  Evidenz: openSUSE Tumbleweed package metadata: lmdb from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

- Debian apt (92%):

```sh
sudo apt install liblmdb-dev
```

  Evidenz: Debian stable package indexes: liblmdb-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

## Paketfakten

- **Paketschlüssel:** brew:lmdb
- **Paketmanager:** Homebrew
- **Version:** 0.9.35
- **Quellzusammenfassung:** Lightning memory-mapped database: key-value data store
- **Homepage:** <https://www.symas.com/lmdb.php>
- **Zuletzt aktualisiert:** 2026-07-18T18:09:07+09:00
- **Generiert:** 2026-08-03T19:37:03+00:00

## Executables

- mdb_copy (Alias)
- mdb_dump (Alias)
- mdb_load (Alias)
- mdb_stat (Alias)

## Installationsverhalten

- Bottle: nicht verfügbar

## Version und Aktualität

- Seite generiert: 2026-08-03
- Manager-Version: 0.9.35
## Projektgeschichte und Nutzung

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.

### Projektgeschichte

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.

### Adoptionsgeschichte

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.

### Wie es verwendet wird

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.

### Warum Paket-Nerds sich dafür interessieren

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.

### Zeitleiste

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

### Quellen

- <https://git.openldap.org/openldap/openldap/-/blob/master/libraries/liblmdb/lmdb.h>
- <https://git.openldap.org/openldap/openldap/-/tree/mdb.master/libraries/liblmdb>
- <https://www.lmdb.tech/doc/>
- <https://www.symas.com/mdb>
- source_facts.executables
- source_facts.package-manager


## Sicherheitshinweise

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

- **Geiger-Risiko:** blue / mittel
- broad file, network, media, or database tool signal

## Andere Paketmanager-Einträge

- Debian apt - liblmdb-dev - 0.9.31-1+b2: normalized package name match | Debian stable package indexes: liblmdb-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Lightning Memory-Mapped Database development files | https://symas.com/mdb/
- Debian apt - liblmdb0 - 0.9.31-1+b2: normalized package name match | Debian stable package indexes: liblmdb0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Lightning Memory-Mapped Database shared library | https://symas.com/mdb/
- Debian apt - lmdb-doc - 0.9.31-1: normalized package name match | Debian stable package indexes: lmdb-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Lightning Memory-Mapped Database doxygen documentation | https://symas.com/mdb/
- Debian apt - lmdb-utils - 0.9.31-1+b2: normalized package name match | Debian stable package indexes: lmdb-utils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Lightning Memory-Mapped Database Utilities | https://symas.com/mdb/
- Nix - lmdb: normalized package name match | nixpkgs package indexes: pkgs/by-name/lm/lmdb/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - liblmdb-dev - 0.9.31-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: liblmdb-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Lightning Memory-Mapped Database development files | https://symas.com/mdb/
- Ubuntu apt - liblmdb0 - 0.9.31-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: liblmdb0 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Lightning Memory-Mapped Database shared library | https://symas.com/mdb/
- Ubuntu apt - lmdb-doc - 0.9.31-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: lmdb-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Lightning Memory-Mapped Database doxygen documentation | https://symas.com/mdb/
- Ubuntu apt - lmdb-utils - 0.9.31-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: lmdb-utils from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Lightning Memory-Mapped Database Utilities | https://symas.com/mdb/
- apk - lmdb - 0.9.35-r0: normalized package name match | Alpine Linux edge package indexes: lmdb from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Lightning Memory-Mapped Database | https://symas.com/lmdb/
- apk - lmdb-dev - 0.9.35-r0: normalized package name match | Alpine Linux edge package indexes: lmdb-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Lightning Memory-Mapped Database (development files) | https://symas.com/lmdb/
- apk - lmdb-doc - 0.9.35-r0: normalized package name match | Alpine Linux edge package indexes: lmdb-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Lightning Memory-Mapped Database (documentation) | https://symas.com/lmdb/
- apk - lmdb-tools - 0.9.35-r0: normalized package name match | Alpine Linux edge package indexes: lmdb-tools from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Lightning Memory-Mapped Database | https://symas.com/lmdb/
- dnf - lmdb - 0.9.34-3.fc45: normalized package name match | Fedora Rawhide package metadata: lmdb from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Memory-mapped key-value database | https://www.symas.com/lmdb
- dnf - lmdb-devel - 0.9.34-3.fc45: normalized package name match | Fedora Rawhide package metadata: lmdb-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development files for lmdb | https://www.symas.com/lmdb
- dnf - lmdb-doc - 0.9.34-3.fc45: normalized package name match | Fedora Rawhide package metadata: lmdb-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Documentation files for lmdb | https://www.symas.com/lmdb


## Verwandte Links

- [lmdb](https://pkg.so/de/pkg/npm/lmdb/) - Same normalized package name exists in another local package ecosystem.

## Combined YAML source

View the package source record on GitHub. [combined/lmdb.yml](https://github.com/mxcl/pkgdb/blob/main/combined/lmdb.yml)


## Quellen

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
