Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper, scoop 安装 mandoc

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install mandoc

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install mandoc

MacPorts ports tree · textproc/mandoc/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add mandoc

Alpine Linux edge package indexes · mandoc · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install mandoc

Debian stable package indexes · mandoc · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install mandoc

Fedora Rawhide package metadata · mandoc · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#mandoc

nixpkgs package indexes · pkgs/by-name/ma/mandoc/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S mandoc

Arch Linux sync databases · mandoc · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install mandoc

openSUSE Tumbleweed package metadata · mandoc · 来源: download.opensuse.org

Windows

Scoop已验证 · 92%
scoop install main/mandoc

Scoop official bucket manifest trees · bucket/mandoc.json · 来源: api.github.com

概览

软件包摘要

UNIX manpage compiler toolset

命令和别名

  • bsdapropos
  • bsdmakewhatis
  • bsdman
  • bsdsoelim
  • bsdwhatis
  • demandoc
  • mandoc

历史

项目历史与用法

mandoc is a small, ISC-licensed Unix manual-page compiler toolset. Its official site describes it as compiling `mdoc`, `man`, and related roff manual sources to terminal output, HTML 5, PostScript, and PDF, with development centered on OpenBSD and BSD.lv.

项目历史

The mandoc development history traces the project through the older `mdocml` name and rapid 2009 development by Kristaps Dzonsons, including releases around March and April 2009 and OpenBSD integration work. The `mandoc` name replaced `mdocterm` in March 2009, and the tool became closely associated with OpenBSD integration after cooperation between Kristaps Dzonsons and Ingo Schwarze.

The mandoc utility first appeared in OpenBSD 4.8. Over time it grew from a focused `mdoc` formatter into a broader toolset including `mandoc`, `man`, `apropos`, `makewhatis`, `catman`, `demandoc`, CGI support, database support, linting, HTML output, markdown output for `mdoc`, and related developer-facing libraries.

采用历史

The official packages and ports page records broad adoption across BSDs and Linux distributions. OpenBSD bundled mandoc in the base system in 2010 and made it the default formatter, searcher, and viewer over later milestones; FreeBSD, NetBSD, DragonFly BSD, illumos, macOS, Alpine, Void, Debian, Ubuntu, Fedora, openSUSE, Gentoo, NixOS, and others have packages or integrations.

That adoption matters because mandoc is not just another formatter: on several systems it replaces or complements groff/man-db for everyday `man` and `apropos` usage, making it part of the base documentation experience.

使用方式

At the CLI, `mandoc` reads `mdoc` or `man` input from files or stdin, auto-detects the language, and formats it for terminal display or other outputs. Output modes include ASCII, locale, UTF-8, HTML, man, markdown for `mdoc`, PDF, PostScript, and parse-tree output.

The `man.conf` manual documents `/etc/man.conf` as the configuration file for the mandoc-family `man`, `apropos`, and `makewhatis` utilities. Its directives can set manual search paths and output options, and the file is optional.

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

mandoc is significant to package maintainers because it is a lean alternative to full troff/groff stacks for manual-page rendering and validation. It is small, fast, portable C, and its linting helps find bad manual-page markup before packages ship.

It also has practical downstream impact: whether a system uses mandoc, man-db, groff, or a combination changes man-page rendering, HTML generation, apropos databases, and default configuration files.

时间线

  • 2009: `mdocterm` was renamed to `mandoc` during early development.
  • 2009: OpenBSD imported mandoc 1.7.12 and began closer integration work.
  • 2010: mandoc first appeared in OpenBSD 4.8.
  • 2014: OpenBSD switched man(1) to the mandoc implementation.
  • 2017: mandoc 1.14.2 added `-Tmarkdown` and other features.
  • 2021: mandoc 1.14.6 was released with improved tagging and a new `mdoc(7)` macro.

Related projects

  • mandoc is closely related to OpenBSD manual infrastructure, BSD.lv, `mdoc`, `man`, `roff`, `tbl`, `eqn`, `apropos`, and `makewhatis`.
  • It is often compared with groff and man-db, and it powers or influences several manual-page web and package documentation tools.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
/etc/man.conf

可执行文件

已安装的可执行文件

命令类型暴露范围备注
bsdaproposcli全局可执行文件
bsdmakewhatiscli全局可执行文件
bsdmancli全局可执行文件
bsdsoelimcli全局可执行文件
bsdwhatiscli全局可执行文件
demandoccli全局可执行文件
mandoccli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本1.14.6
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

https://mandoc.bsd.lv/

  • 信息No package-manager update timestamp was available.低 置信度
  • 信息Release/tag comparison is only available for GitHub repositories.https://mandoc.bsd.lv/none 置信度

安装元数据

软件包元数据

软件包键brew:mandoc
版本1.14.6
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/mandoc
主页https://mandoc.bsd.lv/
仓库https://mandoc.bsd.lv/cgi-bin/cvsweb/mandoc
上游文档https://mandoc.bsd.lv/
许可证ISC
源码归档https://mandoc.bsd.lv/snapshots/mandoc-1.14.6.tar.gz
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namemandoc
Aliases
  • mdocml
Version Scheme0
Revision1
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

mandoc 1.14.6-4

BSD manpage compiler toolset

https://mandoc.bsd.lv

sudo apt install mandoc
  • Section: doc
  • Architecture: amd64
  • Source Package: mdocml
  • 2 依赖
  • normalized package name match
  • 匹配方式:Mandoc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: mandoc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

mandoc

nix profile install nixpkgs#mandoc
  • normalized package name match
  • 匹配方式:Mandoc
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ma/mandoc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

mandoc 1.14.6-1

BSD manpage compiler toolset

http://mdocml.bsd.lv/

sudo apt install mandoc
  • Section: universe/doc
  • Architecture: amd64
  • Source Package: mdocml
  • 2 依赖
  • normalized package name match
  • 匹配方式:Mandoc
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: mandoc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

mandoc 1.14.6-r15

mandoc (formerly mdocml) UNIX manpage compiler toolset

https://mandoc.bsd.lv/

sudo apk add mandoc
  • License: ISC
  • Architecture: x86_64
  • Source Package: mandoc
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Mandoc
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: mandoc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

mandoc-apropos 1.14.6-r15

makewhatis/whatis and apropos tools and index

https://mandoc.bsd.lv/

sudo apk add mandoc-apropos
  • License: ISC
  • Architecture: x86_64
  • Source Package: mandoc
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Mandoc
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: mandoc-apropos from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

mandoc-dev 1.14.6-r15

mandoc (formerly mdocml) UNIX manpage compiler toolset (development files)

https://mandoc.bsd.lv/

sudo apk add mandoc-dev
  • License: ISC
  • Architecture: x86_64
  • Source Package: mandoc
  • normalized package name match
  • 匹配方式:Mandoc
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: mandoc-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

mandoc-doc 1.14.6-r15

mandoc (formerly mdocml) UNIX manpage compiler toolset (documentation)

https://mandoc.bsd.lv/

sudo apk add mandoc-doc
  • License: ISC
  • Architecture: x86_64
  • Source Package: mandoc
  • normalized package name match
  • 匹配方式:Mandoc
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: mandoc-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

mandoc-soelim 1.14.6-r15

so elimination tool

https://mandoc.bsd.lv/

sudo apk add mandoc-soelim
  • License: ISC
  • Architecture: x86_64
  • Source Package: mandoc
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Mandoc
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: mandoc-soelim from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

libmandoc-devel 1.14.6-13.fc44

Development libraries and headers for libmandoc

https://mandoc.bsd.lv/

sudo dnf install libmandoc-devel
  • License: ISC AND BSD-2-Clause AND BSD-3-Clause
  • Category: Unspecified
  • Architecture: i686
  • Source Package: mandoc
  • 1 提供
  • normalized package name match
  • 匹配方式:Mandoc
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libmandoc-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

mandoc 1.14.6-13.fc44

A suite of tools for compiling mdoc and man

https://mandoc.bsd.lv/

sudo dnf install mandoc
  • License: ISC AND BSD-2-Clause AND BSD-3-Clause
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: mandoc
  • 6 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Mandoc
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: mandoc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

mandoc 1.14.6-5

A suite of tools compiling mdoc from the OpenBSD project

https://mdocml.bsd.lv

sudo pacman -S mandoc
  • License: ISC
  • Architecture: x86_64
  • 1 依赖
  • 1 提供
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Mandoc
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: mandoc from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

mandoc 1.14.6-7.3

UNIX manpage compiler

http://mandoc.bsd.lv/

sudo zypper install mandoc
  • License: ISC
  • Category: Productivity/Publishing/Troff
  • Architecture: x86_64
  • Source Package: mandoc
  • 6 依赖
  • 4 提供
  • normalized package name match
  • 匹配方式:Mandoc
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: mandoc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

mandoc-bin 1.14.6-7.3

Format manual pages

http://mandoc.bsd.lv/

sudo zypper install mandoc-bin
  • License: ISC
  • Category: Productivity/Publishing/Troff
  • Architecture: x86_64
  • Source Package: mandoc
  • 2 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Mandoc
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: mandoc-bin from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

mandoc

sudo port install mandoc
  • normalized package name match
  • 匹配方式:Mandoc
MacPorts ports tree · api.github.com · MacPorts ports tree: textproc/mandoc/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/mandoc

scoop install main/mandoc
  • normalized package name match
  • 匹配方式:Mandoc
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/mandoc.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment