# Install dbxml with Homebrew, Nix

Embeddable XML database with XQuery support and other advanced features. Version 6.1.4 via Homebrew; verified 2026-07-10. Also installable with nix: nix profile install nixpkgs#dbxml.

## 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
- **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>
- **Last updated:** 2026-07-10T19:03:06-04:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

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

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 6.1.4
## 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

## 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


## Combined YAML source

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


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
