macOS
brew install berkeley-dblocal Homebrew formula metadata
brew
High performance key/value database. Version 18.1.40 via Homebrew; verified 2026-06-23.
install
brew install berkeley-dblocal Homebrew formula metadata
overview
High performance key/value database
history
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.
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.
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.
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.
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.
security posture
broad file, network, media, or database tool signal. generalized runtime or code generation signal.
yellow risk · medium confidence · runtime
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
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.
Config paths the tool may read or write during local use.
<database-environment-home>/DB_CONFIG<database-environment-home>\DB_CONFIGexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
db_archive | cli | global executable | |
db_checkpoint | cli | global executable | |
db_convert | cli | global executable | |
db_deadlock | cli | global executable | |
db_dump | cli | global executable | |
db_hotbackup | cli | global executable | |
db_load | cli | global executable | |
db_log_verify | cli | global executable | |
db_printlog | cli | global executable | |
db_recover | cli | global executable | |
db_replicate | cli | global executable | |
db_stat | cli | global executable | |
db_tuner | cli | global executable | |
db_upgrade | cli | global executable | |
db_verify | 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.oracle.com/database/technologies/related/berkeleydb.html
install metadata
| Package key | brew:berkeley-db |
|---|---|
| Version | 18.1.40 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/berkeley-db |
| Homepage | https://www.oracle.com/database/technologies/related/berkeleydb.html |
| Upstream docs | https://docs.oracle.com/database/bdb181/html/index.html |
| License | AGPL-3.0-only |
| Source archive | https://download.oracle.com/berkeley-db/db-18.1.40.tar.gz |
| Last updated | 2026-06-23T00:28:31+09:00 |
| Pulse | updated |
| Dependencies | openssl@3 |
| Bottle | available (on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | berkeley-db |
| Aliases |
|
| Version Scheme | 0 |
| Revision | 2 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | yes |
| URL Keys |
|
source 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.