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

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

## 安装

```sh
sudo av install brew:xmltoman
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install xmltoman
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install xmltoman
```

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

### Linux

- apk (92%):

```sh
sudo apk add xmltoman
```

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

- Debian apt (92%):

```sh
sudo apt install xmltoman
```

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

- dnf (92%):

```sh
sudo dnf install xmltoman
```

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

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

- pacman (92%):

```sh
sudo pacman -S xmltoman
```

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

- zypper (92%):

```sh
sudo zypper install xmltoman
```

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

## 软件包事实

- **软件包键:** brew:xmltoman
- **软件包管理器:** Homebrew
- **版本:** 0.4
- **来源摘要:** XML to manpage converter
- **主页:** <https://sourceforge.net/projects/xmltoman/>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- xmlmantohtml (别名)
- xmltoman (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

xmltoman is a tiny XML-to-manpage converter made up of two small scripts: xmltoman for groff man-page output and xmlmantohtml for HTML. It targets simple structured manpage XML rather than the full DocBook toolchain.

### 项目历史

The upstream README describes xmltoman and xmlmantohtml as very simple scripts for converting XML to groff or HTML, with examples based on generating a masqmail man page. The README is signed by Oliver Kurth and dated October 2002 and October 2003, and credits Lennart Poettering for stylesheets and the DTD.

The SourceForge project page lists the project as a small converter for usual manpage sections such as description, options, and see also, with a last update in 2013. That small surface is the history: xmltoman stayed a narrow script package rather than becoming a general documentation framework.

### 采用历史

xmltoman's adoption is niche but practical: it gives package authors a lightweight way to keep manpage source in XML and generate groff or HTML without adopting all of DocBook. Its presence in Unix package collections reflects that small-tool role.

### 使用方式

Typical usage is direct and build-script friendly: run xmltoman on an XML file to produce a groff man page, preview it with man -l, or use xmlmantohtml or the supplied XSLT path to produce HTML.

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

xmltoman is a reminder that documentation tooling often survives because it is smaller than the fashionable alternative. For packages with simple man pages, a tiny XML schema plus a Perl converter can be easier to vendor, audit, and keep working than a larger publishing stack.

### 时间线

- 2002-10-08: The upstream README records an early xmltoman date by Oliver Kurth.
- 2003-10-03: The README records a later update and credits Lennart Poettering's DTD and stylesheets.
- 2013-04-24: SourceForge lists the project as last updated.

### Related projects

- Related projects and technologies include groff man pages, HTML output, xsltproc, simple XML DTDs, DocBook alternatives, and manpage generators used in package builds.

### 来源

- <https://sourceforge.net/p/xmltoman/code/HEAD/tree/trunk/README?format=raw>
- <https://sourceforge.net/projects/xmltoman/>
- <https://sourceforge.net/projects/xmltoman/files/>


## 安全说明

narrow executable package without higher-risk signals.

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

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

- Debian apt - xmltoman - 0.6-1: normalized package name match | Debian stable package indexes: xmltoman from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | simple XML to man converter | https://github.com/atsb/xmltoman
- Nix - xmltoman: normalized package name match | nixpkgs package indexes: pkgs/by-name/xm/xmltoman/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - xmltoman - 0.6-1: normalized package name match | Ubuntu 24.04 LTS package indexes: xmltoman from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | simple XML to man converter | https://github.com/atsb/xmltoman
- apk - xmltoman - 0.6-r1: normalized package name match | Alpine Linux edge package indexes: xmltoman from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | convert xml to man pages in groff format or html | https://github.com/atsb/xmltoman
- apk - xmltoman-doc - 0.6-r1: normalized package name match | Alpine Linux edge package indexes: xmltoman-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | convert xml to man pages in groff format or html (documentation) | https://github.com/atsb/xmltoman
- dnf - xmltoman - 0.4-35.fc45: normalized package name match | Fedora Rawhide package metadata: xmltoman from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Scripts for converting XML to roff or HTML | http://sourceforge.net/projects/xmltoman/
- pacman - xmltoman - 0.4-6: normalized package name match | Arch Linux sync databases: xmltoman from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Convert xml to man pages in groff format or html | https://sourceforge.net/projects/xmltoman/
- zypper - xmltoman - 0.4-2.16: normalized package name match | openSUSE Tumbleweed package metadata: xmltoman from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Scripts to convert xml to man pages or html | https://github.com/Distrotech/xmltoman
- MacPorts - xmltoman: normalized package name match | MacPorts ports tree: textproc/xmltoman/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/xmltoman.yml](https://github.com/mxcl/pkgdb/blob/main/combined/xmltoman.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
