# Install docbook with Homebrew, apt, zypper

Standard XML representation system for technical documents. Version 5.2.1 via Homebrew; verified 2026-07-30. Also installable with debian: sudo apt install docbook.

## Install

```sh
sudo av install brew:docbook
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install docbook
```

  Evidence: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install docbook
```

  Evidence: Debian stable package indexes: docbook from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- zypper (92%):

```sh
sudo zypper install docbook_4
```

  Evidence: openSUSE Tumbleweed package metadata: docbook_4 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## Package facts

- **Package key:** brew:docbook
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/docbook>
- **Version:** 5.2.1
- **Source summary:** Standard XML representation system for technical documents
- **Homepage:** <https://docbook.org/>
- **Upstream docs:** <https://docbook.org/>
- **License:** LicenseRef-Homebrew-cannot-represent
- **Source archive:** <https://codeberg.org/DocBook/docbook/releases/download/5.2.1/docbook-5.2.1.zip>
- **Last updated:** 2026-07-30T11:42:39Z
- **Generated:** 2026-08-04T22:13:35+00:00

## Uses from macOS

- libxml2

## Install behavior

- Post-install hook: not defined
- Caveats: To use the DocBook package in your XML toolchain, you need to add the following to your ~/.bashrc: export XML_CATALOG_FILES="$HOMEBREW_PREFIX/etc/xml/catalog"
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sequoia, sonoma, tahoe, x86_64_linux

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 5.2.1
- Package-manager updated: 2026-07-30
- Local data: ok
- Upstream repository: https://docbook.org/
- info: Release/tag comparison is only available for GitHub repositories.

## Security Notes

No matching local secret-handling manifest was found for docbook. Package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

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

## Other Package-Manager Records

- Debian apt - docbook - 4.5-11: normalized package name match | Debian stable package indexes: docbook from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | standard SGML representation system for technical documents | https://www.oasis-open.org/docbook/sgml/
- Ubuntu apt - docbook - 4.5-10: normalized package name match | Ubuntu 24.04 LTS package indexes: docbook from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | standard SGML representation system for technical documents | https://www.oasis-open.org/docbook/sgml/
- zypper - docbook_4 - 4.5-145.2: normalized package name match | openSUSE Tumbleweed package metadata: docbook_4 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | DocBook DTD Version 4.x | http://www.oasis-open.org/docbook/


## Related links

- [Text processing packages](https://pkg.so/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Networking and protocol packages](https://pkg.so/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Productivity CLI packages](https://pkg.so/productivity-cli-packages/) - Matched curated productivity category metadata from av.db.
- [docbook-xsl](https://pkg.so/brew/docbook-xsl/) - Popular package that depends on this formula.
- [asciidoc](https://pkg.so/brew/asciidoc/) - Popular package that depends on this formula.
- [xmlto](https://pkg.so/brew/xmlto/) - Popular package that depends on this formula.
- [gtk-doc](https://pkg.so/brew/gtk-doc/) - Popular package that depends on this formula.
- [docbook2x](https://pkg.so/brew/docbook2x/) - Popular package that depends on this formula.
- [cgns](https://pkg.so/brew/cgns/) - Local package facts share a topical domain. Shared terms: standard, system.

## Sources

- pkg.so package database
- package-page enrichment
- package version freshness
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
