# Install htmldoc

Convert HTML to PDF or PostScript. Version 1.9.23 via Homebrew; verified 2026-05-11.

## Install

```sh
sudo av install brew:htmldoc
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install htmldoc
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install htmldoc
```

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

### Linux

- apk (92%):

```sh
sudo apk add htmldoc
```

  Evidence: Alpine Linux edge package indexes: htmldoc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install htmldoc
```

  Evidence: Debian stable package indexes: htmldoc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#htmldoc
```

  Evidence: nixpkgs package indexes: pkgs/by-name/ht/htmldoc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S htmldoc
```

  Evidence: Arch Linux sync databases: htmldoc from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install htmldoc
```

  Evidence: openSUSE Tumbleweed package metadata: htmldoc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst

## Package Facts

- **Package key:** brew:htmldoc
- **Package manager:** Homebrew
- **Package manager URL:** <https://formulae.brew.sh/formula/htmldoc>
- **Version:** 1.9.23
- **Source summary:** Convert HTML to PDF or PostScript
- **Homepage:** <https://www.msweet.org/htmldoc/>
- **Repository:** <https://github.com/michaelrsweet/htmldoc>
- **Upstream docs:** <https://www.msweet.org/htmldoc>
- **License:** GPL-2.0-only
- **Source archive:** <https://github.com/michaelrsweet/htmldoc/archive/refs/tags/v1.9.23.tar.gz>
- **Last updated:** 2026-05-11T15:54:11-04:00
- **Generated:** 2026-06-10T07:18:26+00:00

## Executables

- htmldoc (cli)
- htmldoc (alias)

## Dependencies

- jpeg-turbo
- libpng

## Build Dependencies

- pkgconf

## macOS Provided Libraries

- cups

## Install Behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-06-10
- Package-manager version: 1.9.23
- Package-manager updated: 2026-05-11
- Local data status: ok
- Upstream repository: https://github.com/michaelrsweet/htmldoc
- Upstream latest detected: v1.9.23 (current)

## Notes de sécurité

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** htmldoc
- **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

## Other Package-Manager Records

- Debian apt - htmldoc - 1.9.20-1: normalized package name match | Debian stable package indexes: htmldoc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | HTML processor that generates indexed HTML, PS, and PDF | https://www.msweet.org/htmldoc/
- Debian apt - htmldoc-common - 1.9.20-1: normalized package name match | Debian stable package indexes: htmldoc-common from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Common arch-independent files for htmldoc | https://www.msweet.org/htmldoc/
- Nix - htmldoc: normalized package name match | nixpkgs package indexes: pkgs/by-name/ht/htmldoc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - htmldoc - 1.9.17-1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: htmldoc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | HTML processor that generates indexed HTML, PS, and PDF | https://www.msweet.org/htmldoc/
- Ubuntu apt - htmldoc-common - 1.9.17-1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: htmldoc-common from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Common arch-independent files for htmldoc | https://www.msweet.org/htmldoc/
- apk - htmldoc - 1.9.23-r0: normalized package name match | Alpine Linux edge package indexes: htmldoc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | HTML conversion software | https://www.msweet.org/htmldoc/
- apk - htmldoc-doc - 1.9.23-r0: normalized package name match | Alpine Linux edge package indexes: htmldoc-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | HTML conversion software (documentation) | https://www.msweet.org/htmldoc/
- pacman - htmldoc - 1.9.23-2: normalized package name match | Arch Linux sync databases: htmldoc from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | HTML Conversion Software | https://www.msweet.org/htmldoc/
- zypper - htmldoc - 1.9.23-1.4: normalized package name match | openSUSE Tumbleweed package metadata: htmldoc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst | HTML Processor that Generates HTML, PostScript, and PDF Files | https://michaelrsweet.github.io/htmldoc/index.html
- MacPorts - htmldoc: normalized package name match | MacPorts ports tree: textproc/htmldoc/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related Links

- [Terminal utility packages](https://www.automicvault.com/fr/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/fr/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/fr/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/fr/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [libpng](https://www.automicvault.com/fr/pkg/brew/libpng/) - Runtime dependency declared by Homebrew.
- [jpeg-turbo](https://www.automicvault.com/fr/pkg/brew/jpeg-turbo/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/fr/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [html2text](https://www.automicvault.com/fr/pkg/brew/html2text/) - Shares av.db curated category or tags: cli, conversion, converter, developer-tools, html.
- [markdown](https://www.automicvault.com/fr/pkg/brew/markdown/) - Shares av.db curated category or tags: cli, conversion, developer-tools, documentation, html.
- [texi2html](https://www.automicvault.com/fr/pkg/brew/texi2html/) - Shares av.db curated category or tags: cli, converter, developer-tools, documentation, html.
- [tfk8s](https://www.automicvault.com/fr/pkg/brew/tfk8s/) - Shares av.db curated category or tags: cli, conversion, converter, developer-tools.
- [xmltoman](https://www.automicvault.com/fr/pkg/brew/xmltoman/) - Shares av.db curated category or tags: cli, converter, developer-tools, documentation, html.
- [ttf2pt1](https://www.automicvault.com/fr/pkg/brew/ttf2pt1/) - Shares av.db curated category or tags: cli, conversion, developer-tools, postscript.
- [vilistextum](https://www.automicvault.com/fr/pkg/brew/vilistextum/) - Shares av.db curated category or tags: cli, conversion, developer-tools, html.
- [go-md2man](https://www.automicvault.com/fr/pkg/brew/go-md2man/) - Shares av.db curated category or tags: cli, converter, developer-tools, documentation.
- [xml2rfc](https://www.automicvault.com/fr/pkg/brew/xml2rfc/) - Both packages work with overlapping file formats or content types. Shared terms: cli, convert, converter, developer, developer-tools.
- [pdftilecut](https://www.automicvault.com/fr/pkg/brew/pdftilecut/) - Both packages work with overlapping file formats or content types. Shared terms: cli, developer, developer-tools, jpeg, jpeg-turbo.
- [analog](https://www.automicvault.com/fr/pkg/brew/analog/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, jpeg, jpeg-turbo.

## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
