pkg.sopackage field notes

brew / 排名 2321

使用 Homebrew 安装 berkeley-db

查看 berkeley-db 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install berkeley-db

provider-native install command

概览

软件包摘要

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

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

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_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可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本18.1.40
管理器更新时间2026-07-21
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:berkeley-db
版本18.1.40
软件包管理器Homebrew
主页https://www.oracle.com/database/technologies/related/berkeleydb.html
最后更新2026-07-21T18:35:11-04:00
Pulseupdated
Bottle未记录
服务未声明

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • curated configuration and credential file locations
  • curated package history
  • pkgdb category and tag curation