# 使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper 安装 go-md2man

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

## 安装

```sh
sudo av install brew:go-md2man
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install go-md2man
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install go-md2man
```

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

### Linux

- apk (92%):

```sh
sudo apk add go-md2man
```

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

- Debian apt (92%):

```sh
sudo apt install go-md2man
```

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

- dnf (92%):

```sh
sudo dnf install go-md2man
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#go-md2man
```

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

- pacman (92%):

```sh
sudo pacman -S go-md2man
```

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

- zypper (92%):

```sh
sudo zypper install go-md2man
```

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

## 软件包事实

- **软件包键:** brew:go-md2man
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/go-md2man>
- **版本:** 2.0.7
- **来源摘要:** Converts markdown into roff (man pages)
- **主页:** <https://github.com/cpuguy83/go-md2man>
- **仓库:** <https://github.com/cpuguy83/go-md2man>
- **许可证:** MIT
- **源码归档:** <https://github.com/cpuguy83/go-md2man/archive/refs/tags/v2.0.7.tar.gz>
- **最后更新:** 2026-07-25T20:55:23-04:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- go-md2man (cli)
- go-md2man (别名)

## 构建依赖

- go

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 2.0.7
- 管理器更新时间: 2026-07-25
- 本地数据: OK
- 上游仓库: https://github.com/cpuguy83/go-md2man
- 检测到的最新版本: v2.0.7 (当前)
## 项目历史与用法

go-md2man is a small Go utility that converts Markdown into roff-formatted Unix manual pages.

### 项目历史

The public repository was created in 2014. Its README gives the enduring scope of the project: use the blackfriday Markdown processor to turn Markdown source into man-page roff output.

### 采用历史

go-md2man found a durable niche in Go CLI release workflows, where maintainers often write documentation in Markdown but still need man pages for Unix packages. Homebrew and Linux package listings make it available as a standalone build-time or packaging helper.

### 使用方式

Practitioners run go-md2man with an input Markdown file and an output path for the generated man page. Go module users can install it with go install, and Go 1.24-era projects can add it as a go tool entry for repeatable documentation generation.

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

For package users, go-md2man is valuable because it bridges developer-authored Markdown and distribution-friendly man pages without a larger documentation stack.

### 时间线

- 2014: Public GitHub repository created.
- 2019: v2.0.0 tag line established module-aware releases.
- 2025: v2.0.7 release published.

### Related projects

- blackfriday supplies the Markdown processing layer used by go-md2man.

### 来源

- <https://api.github.com/repos/cpuguy83/go-md2man>
- <https://formulae.brew.sh/formula/go-md2man>
- <https://github.com/cpuguy83/go-md2man>
- <https://github.com/cpuguy83/go-md2man/releases>


## 安全说明

library-like package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- library-like package without higher-risk signals

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** go-md2man
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

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

- Debian apt - go-md2man - 2.0.4-1: normalized package name match | Debian stable package indexes: go-md2man from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | utility to create manpages from markdown | https://github.com/cpuguy83/go-md2man
- Nix - go-md2man: normalized package name match | nixpkgs package indexes: pkgs/by-name/go/go-md2man/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - go-md2man - 2.0.3+ds1-1: normalized package name match | Ubuntu 24.04 LTS package indexes: go-md2man from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | utility to create manpages from markdown | https://github.com/cpuguy83/go-md2man
- apk - go-md2man - 2.0.7-r12: normalized package name match | Alpine Linux edge package indexes: go-md2man from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Utility to convert markdown to man pages | https://github.com/cpuguy83/go-md2man
- apk - go-md2man-doc - 2.0.7-r12: normalized package name match | Alpine Linux edge package indexes: go-md2man-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Utility to convert markdown to man pages (documentation) | https://github.com/cpuguy83/go-md2man
- dnf - go-md2man - 2.0.7-2.fc45: normalized package name match | Fedora Rawhide package metadata: go-md2man from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Converts markdown into roff (man pages) | https://github.com/cpuguy83/go-md2man
- pacman - go-md2man - 2.0.7-1: normalized package name match | Arch Linux sync databases: go-md2man from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A markdown to manpage generator | https://github.com/cpuguy83/go-md2man
- zypper - go-md2man - 2.0.0+git20190314.f79a8a8-2.9: normalized package name match | openSUSE Tumbleweed package metadata: go-md2man from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Tool to converts markdown into man pages | https://github.com/cpuguy83/go-md2man
- MacPorts - go-md2man: normalized package name match | MacPorts ports tree: textproc/go-md2man/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [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.
- [go](https://pkg.so/zh-hans/brew/go/) - Build dependency declared by Homebrew.
- [ronn](https://pkg.so/zh-hans/brew/ronn/) - Shares pkgdb curated category or tags: cli, developer-tools, documentation, markdown, roff.
- [grip](https://pkg.so/zh-hans/brew/grip/) - Shares pkgdb curated category or tags: cli, developer-tools, documentation, markdown.
- [lowdown](https://pkg.so/zh-hans/brew/lowdown/) - Shares pkgdb curated category or tags: cli, developer-tools, markdown, roff.
- [mdbook](https://pkg.so/zh-hans/brew/mdbook/) - Shares pkgdb curated category or tags: cli, developer-tools, documentation, markdown.
- [mkdocs-material](https://pkg.so/zh-hans/brew/mkdocs-material/) - Shares pkgdb curated category or tags: cli, developer-tools, documentation, markdown.
- [adr-tools](https://pkg.so/zh-hans/brew/adr-tools/) - Shares pkgdb curated category or tags: cli, developer-tools, documentation, markdown.
- [markdown](https://pkg.so/zh-hans/brew/markdown/) - Shares pkgdb curated category or tags: cli, developer-tools, documentation, markdown.
- [docmd](https://pkg.so/zh-hans/brew/docmd/) - Shares pkgdb curated category or tags: cli, developer-tools, documentation, markdown.
- [txt2man](https://pkg.so/zh-hans/brew/txt2man/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, converts, developer, developer-tools, documentation.
- [go-statik](https://pkg.so/zh-hans/brew/go-statik/) - Package names and metadata indicate a similar tool family. Shared terms: cli, developer, developer-tools, into.
- [action-docs](https://pkg.so/zh-hans/brew/action-docs/) - Both packages work with overlapping file formats or content types. Shared terms: cli, developer, developer-tools, documentation, markdown.

## Combined YAML source

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