# 使用 Homebrew, apk, apt, MacPorts, pacman, dnf, Nix, zypper 安装 docbook-xsl

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install docbook-xsl
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install docbook-xsl
```

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

### Linux

- apk (92%):

```sh
sudo apk add docbook-xsl
```

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

- Debian apt (92%):

```sh
sudo apt install docbook-xsl
```

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

- pacman (92%):

```sh
sudo pacman -S docbook-xsl
```

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

- dnf (92%):

```sh
sudo dnf install docbook-style-xsl
```

  证据: Fedora Rawhide package metadata: docbook-style-xsl from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#docbook_xsl
```

  证据: nixpkgs package indexes: docbook_xsl from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- zypper (92%):

```sh
sudo zypper install docbook-xsl-pdf2index
```

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

## 软件包事实

- **软件包键:** brew:docbook-xsl
- **软件包管理器:** Homebrew
- **版本:** 1.79.2
- **来源摘要:** XML vocabulary to create presentation-neutral documents
- **主页:** <https://github.com/docbook/xslt10-stylesheets>
- **仓库:** <https://github.com/docbook/xslt10-stylesheets>
- **最后更新:** 2026-07-30T12:06:31Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- dbtoepub (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.79.2
## 项目历史与用法

DocBook XSL Stylesheets are one of the classic XML documentation toolchain packages: a large body of XSLT used to turn DocBook XML into HTML, XSL-FO/PDF workflows, man pages, EPUB, and other outputs.

They are historically significant because they carried DocBook from the SGML/DSSSL documentation era into XML/XSLT-based publishing for Unix, Linux distribution, enterprise, and book-production workflows.

### 项目历史

The DocBook project describes the XSLT 1.0 stylesheets as dating to the early 2000s and replacing older DSSSL stylesheets from the 1990s.

The stylesheets lived for years on SourceForge as part of the DocBook project, then moved to GitHub, where the xslt10-stylesheets repository is now the intended repository of record.

The 1.79.2 release snapshot, published in the DocBook CDN in December 2016, became the long-lived stable version many distributions continue to ship.

### 采用历史

Adoption is broad and old-school: DocBook XSL is packaged by Homebrew, Debian, Fedora, Arch, MacPorts, Nix, MSYS2, Alpine, Ubuntu, openSUSE, and other ecosystems because build systems and documentation packages still depend on it.

Many downstream projects layer their own branding or output customizations on top of the stock stylesheets, such as SUSE's DocBook stylesheet customization layer.

### 使用方式

The package is installed as shared XML/XSL resources, usually consumed by xsltproc, Saxon, or build systems that transform DocBook sources.

Its outputs cover the practical documentation formats that made DocBook popular: chunked HTML, single-page HTML, XSL-FO for print/PDF, man pages, EPUB, and help-system formats.

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

This is infrastructure you notice mostly when it breaks: thousands of source packages, manuals, and distro docs have historically assumed DocBook XSL is present under a conventional XML catalog path.

It is also a time capsule of the XML publishing era, where packaging a stylesheet tree was as important as packaging compilers or libraries.

### 时间线

- 1990s: DocBook publishing relied on SGML and DSSSL stylesheets.
- Early 2000s: the DocBook XSLT 1.0 stylesheets became the replacement XML/XSLT publishing path.
- 2009: SourceForge news shows active 1.74.x DocBook XSL and XSL-NS releases.
- 2016: DocBook XSL 1.79.2 was deployed to the DocBook CDN and became the durable stable release in many package managers.
- 2010s-2020s: development moved away from SourceForge to GitHub; newer DocBook work increasingly points users toward xslTNG when practical.

### Related projects

- Related DocBook projects include the DocBook XML schemas, the older DSSSL stylesheets, the later XSLT 2.0 stylesheets, and the newer xslTNG stylesheets.
- Common companion tools include libxml2, libxslt/xsltproc, xmlto, docbook2X, Apache FOP, and distribution-specific XML catalog tooling.

### 来源

- <https://docbook.org/stylesheets/>
- <https://github.com/docbook/xslt10-stylesheets>
- <https://sourceforge.net/projects/docbook/>
- <https://sourceforge.net/p/docbook/news/>
- <https://cdn.docbook.org/>
- <https://cdn.docbook.org/release/xsl/1.79.2/>
- <https://github.com/openSUSE/suse-xsl>


## 安全说明

narrow executable package without higher-risk signals.

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

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

- Debian apt - docbook-xsl - 1.79.2+dfsg-7: normalized package name match | Debian stable package indexes: docbook-xsl from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | stylesheets for processing DocBook XML to various output formats | https://github.com/docbook/wiki/wiki/DocBookXslStylesheets
- Debian apt - docbook-xsl-ns - 1.79.2+dfsg-7: normalized package name match | Debian stable package indexes: docbook-xsl-ns from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | stylesheets for processing DocBook 5 XML to various output formats | https://github.com/docbook/wiki/wiki/DocBookXslStylesheets
- Nix - docbook_xsl: normalized package name match | nixpkgs package indexes: docbook_xsl from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Ubuntu apt - docbook-xsl - 1.79.2+dfsg-7: normalized package name match | Ubuntu 24.04 LTS package indexes: docbook-xsl from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | stylesheets for processing DocBook XML to various output formats | https://github.com/docbook/wiki/wiki/DocBookXslStylesheets
- Ubuntu apt - docbook-xsl-ns - 1.79.2+dfsg-7: normalized package name match | Ubuntu 24.04 LTS package indexes: docbook-xsl-ns from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | stylesheets for processing DocBook 5 XML to various output formats | https://github.com/docbook/wiki/wiki/DocBookXslStylesheets
- apk - docbook-xsl - 1.79.2-r13: normalized package name match | Alpine Linux edge package indexes: docbook-xsl from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | XML stylesheets for Docbook-xml transformations | https://docbook.org/
- apk - docbook-xsl-nons - 1.79.2-r13: normalized package name match | Alpine Linux edge package indexes: docbook-xsl-nons from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | XML stylesheets for Docbook-xml transformations (no-namespace version) | https://docbook.org/
- apk - docbook-xsl-ns - 1.79.2-r13: normalized package name match | Alpine Linux edge package indexes: docbook-xsl-ns from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | XML stylesheets for Docbook-xml transformations (namespace version) | https://docbook.org/
- dnf - docbook-style-xsl - 1.79.2-28.fc45: normalized package name match | Fedora Rawhide package metadata: docbook-style-xsl from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Norman Walsh's XSL stylesheets for DocBook XML | https://github.com/docbook/xslt10-stylesheets
- pacman - docbook-xsl - 1.79.2-9: normalized package name match | Arch Linux sync databases: docbook-xsl from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | XML stylesheets for Docbook-xml transformations | https://docbook.org/
- zypper - docbook-xsl-pdf2index - 1.79.2.2-2.6: normalized package name match | openSUSE Tumbleweed package metadata: docbook-xsl-pdf2index from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Script to create Indices for FOP | https://github.com/docbook/xslt10-stylesheets
- zypper - docbook-xsl-stylesheets - 1.79.2.2-2.6: normalized package name match | openSUSE Tumbleweed package metadata: docbook-xsl-stylesheets from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | XSL Stylesheets for DocBook 4 | https://github.com/docbook/xslt10-stylesheets
- zypper - docbook5-xsl-stylesheets - 1.79.2.2-2.6: normalized package name match | openSUSE Tumbleweed package metadata: docbook5-xsl-stylesheets from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | XSL Stylesheets for DocBook 5 | https://github.com/docbook/xslt10-stylesheets
- MacPorts - docbook-xsl: normalized package name match | MacPorts ports tree: textproc/docbook-xsl/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Debian apt - dbtoepub - 0+svn9904-7: installed executable or alias match | Debian stable package indexes: dbtoepub from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | DocBook XML to .epub converter | https://docbook.sourceforge.net/release/xsl/current/epub/README
- Ubuntu apt - dbtoepub - 0+svn9904-7: installed executable or alias match | Ubuntu 24.04 LTS package indexes: dbtoepub from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | DocBook XML to .epub converter | https://docbook.sourceforge.net/release/xsl/current/epub/README


## Combined YAML source

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


## 来源

- 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
