# 使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper 安装 yelp-tools

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

## 安装

```sh
sudo av install brew:yelp-tools
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install yelp-tools
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install yelp-tools
```

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

### Linux

- apk (92%):

```sh
sudo apk add yelp-tools
```

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

- Debian apt (92%):

```sh
sudo apt install yelp-tools
```

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

- dnf (92%):

```sh
sudo dnf install yelp-tools
```

  证据: Fedora Rawhide package metadata: yelp-tools 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#yelp-tools
```

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

- pacman (92%):

```sh
sudo pacman -S yelp-tools
```

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

- zypper (92%):

```sh
sudo zypper install yelp-tools
```

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

## 软件包事实

- **软件包键:** brew:yelp-tools
- **软件包管理器:** Homebrew
- **版本:** 42.1
- **来源摘要:** Tools that help create and edit Mallard or DocBook documentation
- **主页:** <https://gitlab.gnome.org/GNOME/yelp-tools>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- yelp-build (别名)
- yelp-check (别名)
- yelp-new (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

yelp-tools is GNOME's small toolset for creating, checking, managing, and publishing Mallard or DocBook documentation. Its visible commands include `yelp-build`, `yelp-check`, and `yelp-new`, plus build-system integration through `yelp.m4`.

### 项目历史

Yelp itself is GNOME's help viewer, and the GNOME wiki describes Yelp development as having produced related tools and XSLT modules under the Yelp umbrella. Yelp-tools separated the authoring and build utilities from the viewer so documentation teams could generate and validate help content without launching the application.

The yelp-tools NEWS file begins with a 3.1.1 initial release in 2011. Early 3.x development quickly added Mallard page status checks, EPUB generation, itstool and xmllint checks, faster HTML/cache generation, href validation, stricter validation, and DocBook link support.

The toolset followed GNOME's help-stack evolution: support for Mallard Sites appeared in the 3.17 series, Mallard stack files arrived in the 3.31 series, and the 40.alpha cycle converted `yelp-build`, `yelp-check`, and `yelp-new` to Python while moving to Meson and adding `.yelp-tools.cfg` support.

### 采用历史

Adoption follows GNOME documentation infrastructure. The wiki presents yelp-tools as the package for creating and publishing Mallard or DocBook documentation, and downstream package indexes show it distributed broadly across Linux, BSD, MSYS2, Homebrew, MacPorts, Nix, and other ecosystems.

Because many GNOME and GTK-adjacent projects ship localized help, yelp-tools is more important than its small executable list suggests. It packages the boring but essential checks that keep help pages buildable, linkable, translatable, and publishable.

### 使用方式

`yelp-build` creates output such as HTML and EPUB from Mallard or DocBook sources. The GNOME wiki documents HTML generation from page files, directories of Mallard pages, or a top-level DocBook file.

`yelp-check` validates documents, checks links and hrefs, detects orphaned pages, checks media, statuses, page IDs, comments, licenses, and custom checks. `yelp-new` creates new documents and pages from templates, while `yelp.m4` helps integrate help builds into Autotools-era projects.

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

yelp-tools is package-nerd significant because it is infrastructure for documentation packages, not the documentation itself. It turns GNOME help authoring conventions into repeatable build and validation commands that distributions can rely on.

It is also a good example of a desktop project splitting runtime viewing, XSLT transformation, translation extraction, validation, and templates into separate packages so maintainers can depend on only the build-time pieces they need.

### 时间线

- 2011-05-08: The NEWS file records yelp-tools 3.1.1 as the initial release.
- 2011-05-23: The 3.1.3 line adds Mallard status checking and EPUB building.
- 2012-03-26: The 3.4.0 line adds DocBook support for `yelp-check` links and hrefs commands.
- 2015: The 3.17 series adds Mallard Sites support across yelp-build and yelp-check.
- 2019: The 3.31 series adds initial support for Mallard 1.2 stack files.
- 2021-02-06: The 40.alpha line moves to Meson, converts the main tools to Python, adds improved templates, and introduces `.yelp-tools.cfg`.
- 2022-10-30: The 42.1 tag fixes a DocBook path issue and remains a widely packaged line.

### Related projects

- Related projects include Yelp, yelp-xsl, Mallard, Project Mallard, DocBook, itstool, xmllint, GNOME Help, GNOME Documentation Project workflows, ScrollKeeper/Rarian-era help infrastructure, and Autotools/Meson documentation builds.

### 来源

- <https://archlinux.org/packages/extra/any/yelp-tools/>
- <https://github.com/GNOME/yelp>
- <https://gitlab.gnome.org/GNOME/yelp-tools>
- <https://gitlab.gnome.org/GNOME/yelp-tools/-/raw/master/NEWS>
- <https://gitlab.gnome.org/api/v4/projects/GNOME%2Fyelp-tools>
- <https://gitlab.gnome.org/api/v4/projects/GNOME%2Fyelp-tools/repository/tags?per_page=100&page=1>
- <https://packages.msys2.org/package/yelp-tools>
- <https://wiki.gnome.org/Apps%282f%29Yelp.html>
- <https://wiki.gnome.org/Apps/Yelp/Tools>
- <https://www.freshports.org/textproc/yelp-tools>


## 安全说明

narrow executable package without higher-risk signals.

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

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

- Debian apt - yelp-tools - 42.1-3: normalized package name match | Debian stable package indexes: yelp-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Yelp documentation tools | https://wiki.gnome.org/Apps/Yelp/Tools
- Nix - yelp-tools: normalized package name match | nixpkgs package indexes: pkgs/by-name/ye/yelp-tools/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - yelp-tools - 42.1-2: normalized package name match | Ubuntu 24.04 LTS package indexes: yelp-tools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Yelp documentation tools | https://wiki.gnome.org/Apps/Yelp/Tools
- apk - yelp-tools - 42.1-r2: normalized package name match | Alpine Linux edge package indexes: yelp-tools from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Collection of utilities to help create documentation | https://gitlab.gnome.org/GNOME/yelp-tools
- dnf - yelp-tools - 42.1-14.fc45: normalized package name match | Fedora Rawhide package metadata: yelp-tools from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Create, manage, and publish documentation for Yelp | https://wiki.gnome.org/Apps/Yelp/Tools
- pacman - yelp-tools - 42.1-2: normalized package name match | Arch Linux sync databases: yelp-tools from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Collection of tools for building and converting documentation | https://gitlab.gnome.org/GNOME/yelp-tools
- zypper - yelp-tools - 42.1-2.6: normalized package name match | openSUSE Tumbleweed package metadata: yelp-tools from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Collection of utilities to help create documentation | https://projects.gnome.org/yelp/
- MacPorts - yelp-tools: normalized package name match | MacPorts ports tree: gnome/yelp-tools/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/yelp-tools.yml](https://github.com/mxcl/pkgdb/blob/main/combined/yelp-tools.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
