Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, MacPorts, Nix, pacman, zypper 安装 htmldoc

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install htmldoc

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install htmldoc

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

Linux

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

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

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

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

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

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

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

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

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

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

概览

软件包摘要

Convert HTML to PDF or PostScript

命令和别名

  • htmldoc

历史

项目历史与用法

HTMLDOC is Michael R Sweet's long-lived converter for turning HTML and Markdown source files or web pages into EPUB, PostScript, PDF, or indexed HTML output with an optional table of contents. It matters in package-manager culture because it preserves an older documentation-generator workflow: small static HTML goes in, printable documents come out, and the tool can be used from a GUI, a CLI, CI jobs, or web-server/reporting pipelines.

项目历史

The upstream README says HTMLDOC was developed in the 1990s as a documentation generator for Sweet's previous company and later saw substantial use as a report generator embedded in web servers. The project site describes the same core job as converting HTML and Markdown sources or web pages to paged and ebook-oriented output formats.

The source tree carries an older `release-1.8b4` tag dated 1999 and a long 1.8/1.9 tag line, showing a package with pre-GitHub roots that was later preserved in a public Git repository. The release notes and site also document the deliberate limitations that shaped its evolution: useful for documentation, invoices, and reports, but not a general modern browser engine with full CSS, forms, Unicode, or emoji support.

采用历史

The input package facts record HTMLDOC in Homebrew, Debian, Ubuntu, MacPorts, Nix, Arch, Alpine, and openSUSE-style packaging. That breadth fits a utility that is often installed by documentation build systems or server-side report generators rather than by end users seeking a full browser-to-PDF stack.

使用方式

HTMLDOC is used where relatively simple HTML or Markdown needs deterministic printable output: manuals, internal documentation, invoices, reports, and table-of-contents-based documents. Its appeal is the narrow converter surface: it can be automated from the command line while also offering a GUI for manual jobs.

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

For package nerds, HTMLDOC is interesting because it is an old-school Unix packaging survivor. It predates the headless-Chromium era, keeps a focused paged-output model, and remains small enough to package widely as a standalone converter instead of pulling in a browser runtime.

时间线

  • 1990s: HTMLDOC was developed as a documentation generator for Michael R Sweet's previous company.
  • 1999: The public Git history includes the `release-1.8b4` tag.
  • 2011-2024: Runtime version text in issue output identifies the 1.9 line as GPL software maintained by Michael R Sweet across that period.
  • 2026: The GitHub repository includes the `v1.9.23` tag for the continuing 1.9 series.
  • Package-manager era: The input package facts record HTMLDOC across Homebrew, Debian, Ubuntu, MacPorts, Nix, Arch, Alpine, and zypper-family packaging.

Related projects

  • HTMLDOC is related to other document converters and paged-output generators, but it occupies a narrower historical lane than browser-based HTML-to-PDF tools. Its closest package-manager neighbors are converters such as wkhtmltopdf, Pandoc, and headless-browser wrappers, while its design lineage is closer to static documentation and report generation.

安全态势

风险级别:绿色

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 个平台目标。
  • 安装时包含 2 个运行时依赖。
  • 构建元数据列出 1 个构建依赖。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
htmldoccli全局可执行文件

新鲜度

版本和新鲜度

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

页面生成时间2026-07-25
管理器版本1.9.23
管理器更新时间2026-05-11
本地数据OK
上游当前
检测到的最新版本v1.9.23

https://github.com/michaelrsweet/htmldoc

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:htmldoc
版本1.9.23
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/htmldoc
主页https://www.msweet.org/htmldoc/
仓库https://github.com/michaelrsweet/htmldoc
上游文档https://www.msweet.org/htmldoc
许可证GPL-2.0-only
源码归档https://github.com/michaelrsweet/htmldoc/archive/refs/tags/v1.9.23.tar.gz
最后更新2026-05-11T15:54:11-04:00
Pulseupdated
依赖jpeg-turbo, libpng
构建依赖pkgconf
macOS 提供的库cups
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

htmldoc 1.9.20-1

HTML processor that generates indexed HTML, PS, and PDF

https://www.msweet.org/htmldoc/

sudo apt install htmldoc
  • Section: web
  • Architecture: amd64
  • 10 依赖
  • normalized package name match
  • 匹配方式:Htmldoc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: htmldoc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

htmldoc-common 1.9.20-1

Common arch-independent files for htmldoc

https://www.msweet.org/htmldoc/

sudo apt install htmldoc-common
  • Section: web
  • Architecture: all
  • Source Package: htmldoc
  • normalized package name match
  • 匹配方式:Htmldoc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: htmldoc-common from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

htmldoc

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

htmldoc 1.9.17-1build3

HTML processor that generates indexed HTML, PS, and PDF

https://www.msweet.org/htmldoc/

sudo apt install htmldoc
  • Section: universe/web
  • Architecture: amd64
  • 10 依赖
  • normalized package name match
  • 匹配方式:Htmldoc
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: htmldoc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

htmldoc-common 1.9.17-1build3

Common arch-independent files for htmldoc

https://www.msweet.org/htmldoc/

sudo apt install htmldoc-common
  • Section: universe/web
  • Architecture: all
  • Source Package: htmldoc
  • normalized package name match
  • 匹配方式:Htmldoc
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: htmldoc-common from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

htmldoc 1.9.23-r0

HTML conversion software

https://www.msweet.org/htmldoc/

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

htmldoc-doc 1.9.23-r0

HTML conversion software (documentation)

https://www.msweet.org/htmldoc/

sudo apk add htmldoc-doc
  • License: GPL-2.0-only
  • Architecture: x86_64
  • Source Package: htmldoc
  • normalized package name match
  • 匹配方式:Htmldoc
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: htmldoc-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
pacman95%

htmldoc 1.9.23-2

HTML Conversion Software

https://www.msweet.org/htmldoc/

sudo pacman -S htmldoc
  • License: GPL-2.0-only
  • Architecture: x86_64
  • 10 依赖
  • normalized package name match
  • 匹配方式:Htmldoc
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: htmldoc from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

htmldoc 1.9.23-1.4

HTML Processor that Generates HTML, PostScript, and PDF Files

https://michaelrsweet.github.io/htmldoc/index.html

sudo zypper install htmldoc
  • License: LGPL-2.1-or-later
  • Category: Productivity/Publishing/HTML/Tools
  • Architecture: x86_64
  • Source Package: htmldoc
  • 9 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Htmldoc
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: htmldoc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

htmldoc

sudo port install htmldoc
  • normalized package name match
  • 匹配方式:Htmldoc
MacPorts ports tree · api.github.com · MacPorts ports tree: textproc/htmldoc/Portfile from https://api.github.com/repos/macports/macports-ports/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 package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment