# 使用 Homebrew, apt, zypper 安装 docbook

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install docbook
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install docbook
```

  证据: 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
```

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

## 软件包事实

- **软件包键:** brew:docbook
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/docbook>
- **版本:** 5.2.1
- **来源摘要:** Standard XML representation system for technical documents
- **主页:** <https://docbook.org/>
- **上游文档:** <https://docbook.org/>
- **许可证:** LicenseRef-Homebrew-cannot-represent
- **源码归档:** <https://codeberg.org/DocBook/docbook/releases/download/5.2.1/docbook-5.2.1.zip>
- **最后更新:** 2026-07-30T11:42:39Z
- **已生成:** 2026-08-04T22:13:35+00:00

## macOS 提供的库

- libxml2

## 安装行为

- post-install 钩子: 未定义
- 注意事项: 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: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sequoia, sonoma, tahoe, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 5.2.1
- 管理器更新时间: 2026-07-30
- 本地数据: OK
- 上游仓库: https://docbook.org/
- 信息: Release/tag comparison is only available for GitHub repositories.

## 安全说明

没有找到 docbook 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

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

## 其他软件包管理器记录

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


## 相关链接

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

## 来源

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