Automic VaultAutomic Vault

brew

berkeley-db を Homebrew でインストール

berkeley-db のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install berkeley-db

local Homebrew formula metadata

概要

パッケージ概要

High performance key/value database

コマンドとエイリアス

  • db_archive
  • db_checkpoint
  • db_convert
  • db_deadlock
  • db_dump
  • db_hotbackup
  • db_load
  • db_log_verify
  • db_printlog
  • db_recover
  • db_replicate
  • db_stat
  • db_tuner
  • db_upgrade
  • db_verify

履歴

プロジェクトの歴史と使われ方

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.

タイムライン

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

セキュリティ状態

リスクレベル: yellow

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

リスク分類器

リスク yellow · 信頼度 中 · runtime

理由

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

信号

  • text:backup,archive,database
  • text:repl

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 12 個のプラットフォームターゲットで利用できます。
  • 1 件の実行時依存関係とともにインストールされます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

local files

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

Config paths the tool may read or write during local use.

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

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
db_archivecliグローバル実行可能ファイル
db_checkpointcliグローバル実行可能ファイル
db_convertcliグローバル実行可能ファイル
db_deadlockcliグローバル実行可能ファイル
db_dumpcliグローバル実行可能ファイル
db_hotbackupcliグローバル実行可能ファイル
db_loadcliグローバル実行可能ファイル
db_log_verifycliグローバル実行可能ファイル
db_printlogcliグローバル実行可能ファイル
db_recovercliグローバル実行可能ファイル
db_replicatecliグローバル実行可能ファイル
db_statcliグローバル実行可能ファイル
db_tunercliグローバル実行可能ファイル
db_upgradecliグローバル実行可能ファイル
db_verifycliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-11
マネージャ版18.1.40
マネージャ更新日2026-07-10
ローカルデータOK
上流not checked
検出された最新未検出

https://www.oracle.com/database/technologies/related/berkeleydb.html

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:berkeley-db
バージョン18.1.40
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/berkeley-db
ホームページhttps://www.oracle.com/database/technologies/related/berkeleydb.html
上流ドキュメントhttps://docs.oracle.com/database/bdb181/html/index.html
ライセンスAGPL-3.0-only
ソースアーカイブhttps://download.oracle.com/berkeley-db/db-18.1.40.tar.gz
最終更新2026-07-10T17:05:45-04:00
Pulseupdated
依存関係openssl@3
Bottle利用可能 (対象 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未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameberkeley-db
Aliases
  • berkeley-db@18
  • db
Version Scheme0
Revision2
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyyes
URL Keys
  • stable

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment