# 使用 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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
- **版本:** 2.0.7
- **来源摘要:** Converts markdown into roff (man pages)
- **主页:** <https://github.com/cpuguy83/go-md2man>
- **仓库:** <https://github.com/cpuguy83/go-md2man>
- **最后更新:** 2026-07-25T20:55:23-04:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- go-md2man (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 2.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

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

- 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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


## 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
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
