# Install dbxml with Homebrew, Nix

Embeddable XML database with XQuery support and other advanced features. Version 6.1.4 via Homebrew; verified 2026-06-22.

## Install

```sh
sudo av install brew:dbxml
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install dbxml
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#dbxml
```

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

## Package facts

- **Package key:** brew:dbxml
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/dbxml>
- **Version:** 6.1.4
- **Source summary:** Embeddable XML database with XQuery support and other advanced features
- **Homepage:** <https://www.oracle.com/database/technologies/related/berkeleydb.html>
- **Upstream docs:** <https://docs.oracle.com/cd/E17276_01/html/programmer_reference_xml/index.html>
- **License:** AGPL-3.0-only
- **Source archive:** <https://download.oracle.com/berkeley-db/dbxml-6.1.4.tar.gz>
- **Last updated:** 2026-06-22T14:03:08-07:00
- **Generated:** 2026-07-09T07:20:21+00:00

## Executables

- dbxml (cli)
- dbxml_dump (cli)
- dbxml_load (cli)
- dbxml_load_container (cli)
- dbxml (alias)
- dbxml_dump (alias)
- dbxml_load (alias)
- dbxml_load_container (alias)

## Dependencies

- berkeley-db
- xerces-c
- xqilla

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-09
- Package-manager version: 6.1.4
- Package-manager updated: 2026-06-22
- Local data: ok
- Upstream repository: https://www.oracle.com/database/technologies/related/berkeleydb.html
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

Berkeley DB XML is Oracle's embeddable XML database product for applications that wanted native XML storage, indexing, and XQuery without running a separate database server. In package terms it sits at the intersection of Berkeley DB, XML databases, and local command-line database tooling.

### Project history

The project grew out of the Berkeley DB family after native XML databases became a practical answer to document-centric data. Oracle's Programmer's Reference Guide describes Berkeley DB XML as a C++ library built around Berkeley DB storage and XML/XQuery components, with documentation for Unix, Windows, language APIs, upgrades, and the dbxml command-line shell.

Its long manual history is visible in Oracle's upgrade and changelog sections, which cover the 1.2 line, the 2.0 through 2.5 series, and 6.0.x releases. The product's technical story is not only file storage: it was about storing XML documents in containers, indexing nodes and metadata, and running XQuery directly against those containers.

### Adoption history

Berkeley DB XML belongs to the embedded-database tradition rather than the client/server database tradition. Oracle's FAQ lists C++, Java, Perl, PHP, Python, and Tcl interfaces, so adoption was mostly through applications that linked the library or scripted it locally, not through users connecting to a network daemon.

The product is also a period marker for the 2000s XML-database wave. It appealed to applications with non-tabular, frequently changing, document-shaped data, where an XML repository reduced the mismatch between the application model and relational tables.

### How it is used

Typical use is to create Berkeley DB XML containers, insert XML documents, define indexes, and query them with XQuery or XPath-style expressions. The Homebrew package exposes the dbxml shell and dump/load utilities, which makes it useful for local inspection, export/import, and small reproducible database experiments.

The FAQ emphasizes operational concerns familiar to embedded-database users: large documents, node storage containers, explicit resource cleanup in Java bindings, thread-sharing rules for manager/container/query objects, and careful configuration of validation and external access.

### Why package nerds care

dbxml is a preserved slice of database packaging history: an embeddable XML database installed as libraries plus command-line utilities. It is interesting precisely because it is neither a modern document service nor a plain key-value store; it packages a whole native-XML data-management worldview into a local Unix toolchain.

### Timeline

- 1.2 era: Oracle's guide records Berkeley DB XML 1.2.0 and 1.2.1 changelog sections.
- 2.x era: Upgrade notes cover 2.0, 2.1, 2.2, 2.3, 2.4, and 2.5 transitions.
- 2015: Oracle's Berkeley DB XML Programmer's Reference Guide for library version 12.1.6.0 is dated July 10, 2015.
- 6.0 era: Oracle's documentation includes 6.0.17 and 6.0.18 changelog sections.

### Related projects

- Berkeley DB XML is closely tied to Berkeley DB, XQilla, Xerces-C, and the language bindings documented by Oracle for C++, Java, Perl, PHP, Python, and Tcl.

### Sources

- <https://docs.oracle.com/cd/E17276_01/html/programmer_reference_xml/index.html>
- <https://www.oracle.com/database/technologies/berkeleydb-xml-faq.html>


## Security Notes

broad file, network, media, or database tool signal. infrastructure mutation or orchestration signal.

- **Geiger risk:** orange / medium
- broad file, network, media, or database tool signal
- infrastructure mutation or orchestration signal

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** dbxml
- **Version Scheme:** 0
- **Revision:** 4
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** yes
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- Nix - dbxml: normalized package name match | nixpkgs package indexes: pkgs/by-name/db/dbxml/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Related links

- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [berkeley-db](https://www.automicvault.com/pkg/brew/berkeley-db/) - Runtime dependency declared by Homebrew.
- [xerces-c](https://www.automicvault.com/pkg/brew/xerces-c/) - Runtime dependency declared by Homebrew.
- [xqilla](https://www.automicvault.com/pkg/brew/xqilla/) - Runtime dependency declared by Homebrew.
- [basex](https://www.automicvault.com/pkg/brew/basex/) - Shares av.db curated category or tags: cli, data, database, xml, xquery.
- [derby](https://www.automicvault.com/pkg/brew/derby/) - Shares av.db curated category or tags: cli, data, database, embedded-database.
- [ejdb](https://www.automicvault.com/pkg/brew/ejdb/) - Shares av.db curated category or tags: cli, data, database, embedded-database.
- [gdbm](https://www.automicvault.com/pkg/brew/gdbm/) - Shares av.db curated category or tags: cli, data, database, embedded-database.
- [lmdb](https://www.automicvault.com/pkg/brew/lmdb/) - Shares av.db curated category or tags: cli, data, database, embedded-database.
- [sqlite](https://www.automicvault.com/pkg/brew/sqlite/) - Shares av.db curated category or tags: cli, data, database, embedded-database.
- [tdb](https://www.automicvault.com/pkg/brew/tdb/) - Shares av.db curated category or tags: cli, data, database, embedded-database.

## Combined YAML source

View the package source record on GitHub. [combined/dbxml.yml](https://github.com/automic-vault/db/blob/main/combined/dbxml.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
