# berkeley-db mit Homebrew installieren

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

## Installation

```sh
sudo av install brew:berkeley-db
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install berkeley-db
```

  Evidenz: local Homebrew formula metadata

## Paketfakten

- **Paketschlüssel:** brew:berkeley-db
- **Paketmanager:** Homebrew
- **Version:** 18.1.40
- **Quellzusammenfassung:** High performance key/value database
- **Homepage:** <https://www.oracle.com/database/technologies/related/berkeleydb.html>
- **Zuletzt aktualisiert:** 2026-07-21T18:35:11-04:00
- **Generiert:** 2026-08-03T19:37:03+00:00

## Executables

- db_archive (Alias)
- db_checkpoint (Alias)
- db_convert (Alias)
- db_deadlock (Alias)
- db_dump (Alias)
- db_hotbackup (Alias)
- db_load (Alias)
- db_log_verify (Alias)
- db_printlog (Alias)
- db_recover (Alias)
- db_replicate (Alias)
- db_stat (Alias)
- db_tuner (Alias)
- db_upgrade (Alias)
- db_verify (Alias)

## Installationsverhalten

- Bottle: nicht verfügbar

## Version und Aktualität

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

Berkeley DB is the classic embedded key/value database library lineage now distributed by Oracle. For package-manager users it is less a standalone server than a C library plus administrative utilities whose major version, license, and on-disk compatibility can matter to many dependent packages.

### Projektgeschichte

Berkeley DB originated in the BSD Unix world and became a general embedded database library under Sleepycat Software. Oracle acquired Sleepycat in 2006, and Oracle's current Berkeley DB pages and documentation now present the product as Oracle Berkeley DB.

The Homebrew berkeley-db package represents the current Oracle Berkeley DB line, with docs for the 18.1 series. It exposes command-line maintenance tools such as db_archive, db_checkpoint, db_dump, db_load, db_recover, db_upgrade, and db_verify in addition to the library API.

### Adoptionsgeschichte

Berkeley DB's adoption pattern was unusual: many users never chose it directly, but installed it because another package embedded it for local indexes, metadata stores, mail/news databases, directory services, package metadata, or application state.

That indirect adoption made the package-manager story important. Distributions historically carried multiple db, db4, db5, and berkeley-db variants because applications could be tied to a specific ABI or database file format.

### Wie es verwendet wird

Developers link Berkeley DB into an application rather than run a database daemon. Runtime state lives in application-controlled database environments, where DB_CONFIG can tune caches, logging, locking, transactions, replication, and recovery behavior.

The bundled tools are operationally important: they let maintainers dump and reload databases, recover environments, inspect logs and statistics, verify files, and upgrade database formats when moving across versions.

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

Berkeley DB is package-nerd canon because it is tiny in concept but huge in dependency consequences. A formula upgrade can affect ABI compatibility, license acceptability, and whether old database files can be opened.

The current brew:berkeley-db and versioned brew:berkeley-db@5 relationship is exactly the sort of thing package historians care about: the unversioned formula tracks the modern Oracle line, while @5 keeps an older major line alive for dependents that cannot simply follow the latest library.

### Zeitleiste

- 1990s: Berkeley DB grew out of BSD database code and became Sleepycat Software's embedded database product.
- 2006: Oracle acquired Sleepycat Software, bringing Berkeley DB under Oracle.
- 2011: Berkeley DB 5.3 documentation was published for the 11g Release 2 generation.
- 2018: Oracle Berkeley DB 18.1 documentation represents the later Oracle version-numbering line used by the unversioned berkeley-db package.

### Related projects

- brew:berkeley-db@5 is the versioned Homebrew formula for the older Berkeley DB 5 line.
- SQLite is a related embedded database alternative, but with a relational SQL model rather than Berkeley DB's key/value API.
- LMDB is a related embedded key/value store often discussed in the same package and storage-engine context.

### Quellen

- <https://docs.oracle.com/cd/E17076_02/html/programmer_reference/index.html>
- <https://docs.oracle.com/database/bdb181/html/index.html>
- <https://www.oracle.com/corporate/pressrelease/oracle-buys-sleepycat-021406.html>
- <https://www.oracle.com/database/technologies/related/berkeleydb.html>


## Sicherheitshinweise

broad file, network, media, or database tool signal. generalized runtime or code generation signal.

- **Geiger-Risiko:** yellow / mittel
- broad file, network, media, or database tool signal
- generalized runtime or code generation signal


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: <database-environment-home>/DB_CONFIG
- Windows: <database-environment-home>\DB_CONFIG

## Combined YAML source

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


## Quellen

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
