# 使用 Homebrew, apk, apt, Nix, pacman, zypper, dnf, MacPorts 安装 docbook2x

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

## 安装

```sh
sudo av install brew:docbook2x
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install docbook2x
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install docbook2X
```

  证据: MacPorts ports tree: textproc/docbook2X/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add docbook2x
```

  证据: Alpine Linux edge package indexes: docbook2x from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install docbook2x
```

  证据: Debian stable package indexes: docbook2x from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#docbook2x
```

  证据: nixpkgs package indexes: pkgs/by-name/do/docbook2x/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S docbook2x
```

  证据: Arch Linux sync databases: docbook2x from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install docbook2x
```

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

- dnf (92%):

```sh
sudo dnf install docbook2X
```

  证据: Fedora Rawhide package metadata: docbook2X from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

## 软件包事实

- **软件包键:** brew:docbook2x
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/docbook2x>
- **版本:** 0.8.8
- **来源摘要:** Convert DocBook to UNIX manpages and GNU TeXinfo
- **主页:** <https://docbook2x.sourceforge.net/>
- **上游文档:** <https://docbook2x.sourceforge.net/>
- **许可证:** MIT AND DocBook-XML
- **源码归档:** <https://downloads.sourceforge.net/project/docbook2x/docbook2x/0.8.8/docbook2X-0.8.8.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- db2x_manxml (cli)
- db2x_texixml (cli)
- db2x_xsltproc (cli)
- docbook2man (cli)
- docbook2texi (cli)
- sgml2xml-isoent (cli)
- utf8trans (cli)
- db2x_manxml (别名)
- db2x_texixml (别名)
- db2x_xsltproc (别名)
- docbook2man (别名)
- docbook2texi (别名)
- sgml2xml-isoent (别名)
- utf8trans (别名)

## 依赖

- docbook

## macOS 提供的库

- expat
- libxslt
- perl

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.8.8
- 本地数据: OK
- 上游仓库: https://docbook2x.sourceforge.net/
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

docbook2X is a focused DocBook converter for traditional Unix man pages and GNU Texinfo.

It is effectively mature legacy infrastructure: upstream's last release was 0.8.8 in March 2007, but distributions still carry it because man-page and info-page generation remain useful in source builds.

### 项目历史

The project predates much of today's Markdown-centric documentation tooling and targeted the practical problem of turning DocBook refentry content into native Unix documentation formats.

The preserved SourceForge homepage identifies 0.8.8, released on March 3, 2007, and the manual identifies Steve Cheng as author.

SourceForge file history shows the 0.8.x line progressing from 2003 through 2007.

### 采用历史

docbook2X was adopted by Linux and BSD distributions because it generated man and Texinfo output in packaging workflows where those formats were first-class artifacts.

Although dormant upstream, it remains packaged in Homebrew, Debian, Fedora, Arch, MacPorts, Nix, Ubuntu, openSUSE, FreeBSD ports, OpenBSD ports, and Guix.

### 使用方式

The common commands convert DocBook/XML refentry documents into manual pages or Texinfo, with lower-level helpers for Man-XML and Texi-XML intermediate formats.

The package is most often encountered in build dependencies rather than as a user-facing authoring tool.

### 为什么软件包爱好者会关心

docbook2X is a good example of a small, stable converter kept alive by distribution packaging long after upstream activity quieted.

Its continued presence says a lot about Unix documentation culture: man pages and info documents are still build outputs worth preserving.

### 时间线

- 2003: SourceForge file history shows early 0.8.x releases.
- 2004-2006: the 0.8.x series iterated through converter and packaging improvements.
- 2007: docbook2X 0.8.8 was released as the documented upstream release.
- 2010s-2020s: distributions continued carrying patched packages for modern build environments.

### Related projects

- Related projects include DocBook XML, DocBook XSL stylesheets, xmlto, xsltproc/libxslt, GNU Texinfo, groff, and distribution XML catalog tooling.
- The Distrotech GitHub mirror is useful as a readable source mirror, but SourceForge remains the upstream identity in package metadata.

### 来源

- <https://docbook2x.sourceforge.net/>
- <https://docbook2x.sourceforge.net/latest/doc/docbook2X.html>
- <https://sourceforge.net/projects/docbook2x/>
- <https://sourceforge.net/projects/docbook2x/files/docbook2x/>
- <https://sourceforge.net/projects/docbook2x/files/docbook2x/0.8.8/>
- <https://packages.debian.org/bookworm/docbook2x>
- <https://openports.pl/path/textproc/docbook2x>
- <https://github.com/Distrotech/docbook2X>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** docbook2x
- **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 - docbook2x - 0.8.8-18: normalized package name match | Debian stable package indexes: docbook2x from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Converts DocBook/XML documents into man pages and TeXinfo | http://docbook2x.sourceforge.net
- Nix - docbook2x: normalized package name match | nixpkgs package indexes: pkgs/by-name/do/docbook2x/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - docbook2x - 0.8.8-18: normalized package name match | Ubuntu 24.04 LTS package indexes: docbook2x from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Converts DocBook/XML documents into man pages and TeXinfo | http://docbook2x.sourceforge.net
- apk - docbook2x - 0.8.8-r10: normalized package name match | Alpine Linux edge package indexes: docbook2x from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | DocBook converter to UNIX manpage and GNU Texinfo format | https://docbook2x.sourceforge.net/
- apk - docbook2x-doc - 0.8.8-r10: normalized package name match | Alpine Linux edge package indexes: docbook2x-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | DocBook converter to UNIX manpage and GNU Texinfo format (documentation) | https://docbook2x.sourceforge.net/
- dnf - docbook2X - 0.8.8-53.fc45: normalized package name match | Fedora Rawhide package metadata: docbook2X from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Convert docbook into man and Texinfo | http://docbook2x.sourceforge.net/
- pacman - docbook2x - 0.8.8-19: normalized package name match | Arch Linux sync databases: docbook2x from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A software package that converts DocBook documents into the traditional Unix man page format and the GNU Texinfo format. | http://docbook2x.sourceforge.net
- zypper - docbook2x - 0.8.8-130.6: normalized package name match | openSUSE Tumbleweed package metadata: docbook2x from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | DocBook-to-Texinfo Converter | http://docbook2x.sourceforge.net/
- zypper - docbook2x-doc - 0.8.8-130.6: normalized package name match | openSUSE Tumbleweed package metadata: docbook2x-doc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | DocBook-to-Texinfo Converter | http://docbook2x.sourceforge.net/
- MacPorts - docbook2X: normalized package name match | MacPorts ports tree: textproc/docbook2X/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [docbook](https://pkg.so/zh-hans/brew/docbook/) - Runtime dependency declared by Homebrew.
- [docbook-xsl](https://pkg.so/zh-hans/brew/docbook-xsl/) - Shares pkgdb curated category or tags: cli, developer-tools, docbook, documentation, xml.
- [asciidoc](https://pkg.so/zh-hans/brew/asciidoc/) - Shares pkgdb curated category or tags: cli, developer-tools, docbook, documentation.
- [asciidoctor](https://pkg.so/zh-hans/brew/asciidoctor/) - Shares pkgdb curated category or tags: cli, developer-tools, docbook, documentation.
- [kdoctools](https://pkg.so/zh-hans/brew/kdoctools/) - Shares pkgdb curated category or tags: cli, developer-tools, docbook, documentation.
- [ronn](https://pkg.so/zh-hans/brew/ronn/) - Shares pkgdb curated category or tags: cli, developer-tools, documentation, manpages.
- [dita-ot](https://pkg.so/zh-hans/brew/dita-ot/) - Shares pkgdb curated category or tags: cli, developer-tools, documentation, xml.
- [xmltoman](https://pkg.so/zh-hans/brew/xmltoman/) - Shares pkgdb curated category or tags: cli, converter, developer-tools, documentation, manpages.
- [doxygen](https://pkg.so/zh-hans/brew/doxygen/) - Shares pkgdb curated category or tags: cli, developer-tools, documentation.
- [xmlto](https://pkg.so/zh-hans/brew/xmlto/) - Both packages work with overlapping file formats or content types. Shared terms: cli, convert, developer, developer-tools, docbook.

## Combined YAML source

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


## 来源

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