# Install latex2html with Homebrew, apt, dnf, MacPorts, Nix, pacman, zypper

LaTeX-to-HTML translator. Version 2026 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:latex2html
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install latex2html
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install latex2html
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install latex2html
```

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

- dnf (92%):

```sh
sudo dnf install latex2html
```

  Evidence: Fedora Rawhide package metadata: latex2html from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#latex2html
```

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

- pacman (92%):

```sh
sudo pacman -S latex2html
```

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

- zypper (92%):

```sh
sudo zypper install latex2html
```

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

## Package facts

- **Package key:** brew:latex2html
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/latex2html>
- **Version:** 2026
- **Source summary:** LaTeX-to-HTML translator
- **Homepage:** <https://www.latex2html.org>
- **Repository:** <https://github.com/latex2html/latex2html>
- **Upstream docs:** <https://www.latex2html.org/>
- **License:** GPL-2.0-or-later
- **Source archive:** <https://github.com/latex2html/latex2html/archive/refs/tags/v2026.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- latex2html (cli)
- pstoimg (cli)
- texexpand (cli)
- latex2html (alias)
- pstoimg (alias)
- texexpand (alias)

## Dependencies

- ghostscript
- netpbm

## 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-07-08
- Package-manager version: 2026
- Local data: ok
- Upstream repository: https://github.com/latex2html/latex2html
- info: No package-manager update timestamp was available.
- info: No cached GitHub release or tag data was available.
## Project history and usage

LaTeX2HTML is a long-running LaTeX-to-HTML translator that turns LaTeX documents into linked web pages. It preserves document structure, navigation panels, cross-references, citations, footnotes, tables of contents, and many LaTeX constructs while converting heavily formatted content such as equations and figures to images when needed.

### Project history

The project originated with Nikos Drakos at the Computer Based Learning Unit, University of Leeds; the README names Drakos as the original author, and historical generated pages carry 1993 copyright notices. Ross Moore at Macquarie University later became a principal author listed in the README, with Marek Rouchal and Jens Lippmann listed as former authors.

LaTeX2HTML grew alongside the early web as an answer to a concrete publishing problem: authors already had structured LaTeX documents, while the web needed navigable HTML. Its feature set reflects that era, including generated navigation panels, hypertext cross-references, image conversion for equations, and support for raw HTML embedded in LaTeX.

The GitHub repository was created on 2016-06-27, providing a modern source-control home for a tool whose change log still records annual maintenance releases through the 2020s.

### Adoption history

LaTeX2HTML became a recognizable part of TeX and Unix publishing culture because many academic and technical sites used it to publish manuals, course notes, standards drafts, and software documentation as static HTML. The official site documents availability through Fedora, Debian, Ubuntu, Homebrew, and MacPorts.

Its adoption declined as PDF-first publishing, MathJax, Sphinx, Pandoc, and static-site generators became common, but it remains packaged because old document trees and automated build systems still depend on its particular HTML output model.

### How it is used

Users run `latex2html` on a LaTeX source file to generate a directory of linked HTML pages. Companion tools such as `pstoimg` and `texexpand` support image generation and source expansion, and the README points to `perldoc latex2html`, `latex2html -help`, and the docs directory for detailed usage.

### Why package nerds care

LaTeX2HTML is package-nerd significant because it captures the first wave of TeX-to-web conversion in a still-packaged command-line tool. It is also a dependency fossil: even if a new project would choose a newer converter, old documentation builds may require LaTeX2HTML's exact behavior.

For package maintainers, it is the kind of utility that forces careful dependency handling around Perl, TeX, Ghostscript, Netpbm, Poppler, dvips, and dvipng.

### Timeline

- 1993: Historical copyright notices identify Nikos Drakos as author of early LaTeX2HTML releases.
- 1997-1999: Ross Moore copyright notices appear in generated LaTeX2HTML pages and the README lists him as a later principal author.
- 1999: The README records a TeX User Group mailing-list archive beginning in 1999.
- 2016-06-27: GitHub repository created.
- 2024-2026: Change log records maintenance releases for modern TeX and conversion issues.

### Related projects

- Related projects and tools include TeX Live, Ghostscript, Netpbm, Poppler, dvips, dvipng, Pandoc, HeVeA, TtH, Sphinx, and MathJax-era HTML math publishing.

### Sources

- <https://api.github.com/repos/latex2html/latex2html>
- <https://raw.githubusercontent.com/latex2html/latex2html/master/Changes>
- <https://raw.githubusercontent.com/latex2html/latex2html/master/README.md>
- <https://www.latex2html.org/>


## Security Notes

narrow executable package without higher-risk signals.

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


## 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

- Unix: $L2HCONFIG, ~/.latex2html-init, ./.latex2html-init
## Source Database Details

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

## Other Package-Manager Records

- Debian apt - latex2html - 2025+debian1-3: normalized package name match | Debian stable package indexes: latex2html from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | LaTeX to HTML translator | https://www.latex2html.org/
- Nix - latex2html: normalized package name match | nixpkgs package indexes: pkgs/by-name/la/latex2html/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - latex2html - 2024-debian1-2: normalized package name match | Ubuntu 24.04 LTS package indexes: latex2html from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | LaTeX to HTML translator | https://www.latex2html.org/
- dnf - latex2html - 2026-1.fc45: normalized package name match | Fedora Rawhide package metadata: latex2html from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Converts LaTeX documents to HTML | https://github.com/latex2html/latex2html/releases
- pacman - latex2html - 2026-1: normalized package name match | Arch Linux sync databases: latex2html from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | a convertor written in Perl that converts LaTeX documents to HTML | https://www.ctan.org/pkg/latex2html
- zypper - latex2html - 2026-1.1: normalized package name match | openSUSE Tumbleweed package metadata: latex2html from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | LaTeX to HTML Converter | https://github.com/latex2html/latex2html/
- zypper - latex2html-doc - 2026-1.1: normalized package name match | openSUSE Tumbleweed package metadata: latex2html-doc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Documentation for the Latex2HTML Converter | https://github.com/latex2html/latex2html/
- zypper - latex2html-pngicons - 2026-1.1: normalized package name match | openSUSE Tumbleweed package metadata: latex2html-pngicons from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Icons in the PNG format for LateX2HTML | https://github.com/latex2html/latex2html/
- MacPorts - latex2html: normalized package name match | MacPorts ports tree: print/latex2html/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Web development packages](https://www.automicvault.com/pkg/web-dev-tools/) - Matched web development metadata.
- [ghostscript](https://www.automicvault.com/pkg/brew/ghostscript/) - Runtime dependency declared by Homebrew.
- [netpbm](https://www.automicvault.com/pkg/brew/netpbm/) - Runtime dependency declared by Homebrew.
- [hevea](https://www.automicvault.com/pkg/brew/hevea/) - Shares av.db curated category or tags: cli, document-conversion, html, latex, productivity.
- [latex2rtf](https://www.automicvault.com/pkg/brew/latex2rtf/) - Shares av.db curated category or tags: cli, document-conversion, latex, productivity, tex.
- [rtf2latex2e](https://www.automicvault.com/pkg/brew/rtf2latex2e/) - Shares av.db curated category or tags: cli, document-conversion, latex, productivity, tex.
- [docx2txt](https://www.automicvault.com/pkg/brew/docx2txt/) - Shares av.db curated category or tags: cli, document-conversion, productivity.
- [libmspub](https://www.automicvault.com/pkg/brew/libmspub/) - Shares av.db curated category or tags: cli, document-conversion, productivity.
- [multimarkdown](https://www.automicvault.com/pkg/brew/multimarkdown/) - Shares av.db curated category or tags: cli, document-conversion, html, latex, productivity.
- [odt2txt](https://www.automicvault.com/pkg/brew/odt2txt/) - Shares av.db curated category or tags: cli, document-conversion, productivity.
- [unoserver](https://www.automicvault.com/pkg/brew/unoserver/) - Shares av.db curated category or tags: cli, document-conversion, productivity.

## Combined YAML source

View the package source record on GitHub. [combined/latex2html.yml](https://github.com/automic-vault/db/blob/main/combined/latex2html.yml)


## Sources

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