# Install latexml with Homebrew, apt, dnf, MacPorts, zypper

LaTeX to XML/HTML/MathML Converter. Version 0.8.8 via Homebrew; verified 2026-07-04.

## Install

```sh
sudo av install brew:latexml
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install latexml
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install LaTeXML
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install latexml
```

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

- dnf (92%):

```sh
sudo dnf install LaTeXML
```

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

- zypper (92%):

```sh
sudo zypper install LaTeXML
```

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

## Package facts

- **Package key:** brew:latexml
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/latexml>
- **Version:** 0.8.8
- **Source summary:** LaTeX to XML/HTML/MathML Converter
- **Homepage:** <https://math.nist.gov/~BMiller/LaTeXML/>
- **Repository:** <https://github.com/brucemiller/LaTeXML>
- **Upstream docs:** <https://dlmf.nist.gov/LaTeXML>
- **License:** LicenseRef-Homebrew-public-domain
- **Source archive:** <https://math.nist.gov/~BMiller/LaTeXML/releases/LaTeXML-0.8.8.tar.gz>
- **Last updated:** 2026-07-04T13:13:41+09:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- latexml (cli)
- latexmlc (cli)
- latexmlfind (cli)
- latexmlmath (cli)
- latexmlpost (cli)
- latexml (alias)
- latexmlc (alias)
- latexmlfind (alias)
- latexmlmath (alias)
- latexmlpost (alias)

## Build dependencies

- pkgconf

## Uses from macOS

- libxml2
- libxslt
- perl

## 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: 0.8.8
- Package-manager updated: 2026-07-04
- Local data: ok
- Upstream repository: https://math.nist.gov/~BMiller/LaTeXML/
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

LaTeXML is a public-domain Perl toolchain for translating TeX and LaTeX sources into structured XML and downstream formats such as HTML, EPUB, JATS, TEI, and MathML. Its package-manager identity is unusually tied to digital-math publishing rather than ordinary document rendering: it tries to preserve enough semantic structure for web presentation, search, accessibility, and corpus processing.

### Project history

Bruce R. Miller developed LaTeXML at NIST for the Digital Library of Mathematical Functions, where a large body of LaTeX-authored mathematical content needed a web-oriented representation. The project later moved into a public GitHub workflow under the brucemiller/LaTeXML repository, with Deyan Ginev also listed as an author in the repository metadata.

The 2014 paper 'LaTeXML 2012 - A Year of LaTeXML' described the project as already established in mathematical-knowledge-management work, originally created for NIST DLMF and then used in publishing frameworks, authoring suites, and large TeX corpora. GitHub release tags show the 0.8 line continuing from at least 2015's v0.8.1 through the v0.8.8 release work dated 2024-02-26.

### Adoption history

LaTeXML found adoption where TeX is the authoring language but HTML, XML, accessibility, or machine-readable math is the delivery target. The project's own history emphasizes DLMF, mathematical publishing, authoring tools, and corpus conversion rather than a generic LaTeX-to-PDF workflow.

Package-manager adoption reflects that niche but durable role: Homebrew, Debian, Ubuntu, Fedora, MacPorts, and openSUSE package it as a command-line conversion suite, exposing tools such as latexml, latexmlpost, latexmlmath, and latexmlc.

### How it is used

Typical use is a pipeline: convert TeX-like input to LaTeXML's XML model, then postprocess it into web or interchange formats. The command family supports full-document conversion, daemon-style conversion, math fragments, postprocessing, and helper discovery.

### Why package nerds care

LaTeXML matters to package nerds because it sits at the intersection of TeX packaging, Perl dependencies, XML vocabularies, MathML, and reproducible document conversion. It is the sort of formula that reveals whether a package manager can handle a research-software stack with long-lived academic infrastructure and many format edges.

### Timeline

- 2004: Public release date recorded for LaTeXML in secondary software metadata.
- 2012: The project was described as used beyond DLMF in publishing frameworks, authoring suites, and large-scale TeX corpora.
- 2015: v0.8.1 release commit dated 2015-02-17.
- 2022: v0.8.7 release notes dated 2022-12-16 described broad usability, fidelity, robustness, portability, and output-quality work.
- 2024: v0.8.8 release work dated 2024-02-26 updated the manual and release notes.

### Related projects

- Related systems and standards include TeX, LaTeX, XML, HTML5, EPUB, JATS, TEI, MathML, the NIST Digital Library of Mathematical Functions, and arXiv-scale TeX corpus conversion efforts.

### Sources

- <https://arxiv.org/html/1404.6549v1>
- <https://dlmf.nist.gov/LaTeXML>
- <https://dlmf.nist.gov/LaTeXML/manual.pdf>
- <https://formulae.brew.sh/formula/latexml>
- <https://github.com/brucemiller/LaTeXML>
- <https://github.com/brucemiller/LaTeXML/releases>


## Security Notes

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:** latexml
- **Version Scheme:** 0
- **Revision:** 4
- **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 - latexml - 0.8.8-2: normalized package name match | Debian stable package indexes: latexml from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | LaTeX to XML Converter | https://dlmf.nist.gov/LaTeXML/
- Ubuntu apt - latexml - 0.8.8-1: normalized package name match | Ubuntu 24.04 LTS package indexes: latexml from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | LaTeX to XML Converter | https://dlmf.nist.gov/LaTeXML/
- dnf - LaTeXML - 0.8.8-7.fc45: normalized package name match | Fedora Rawhide package metadata: LaTeXML from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Converts TeX and LaTeX to XML/HTML/ePub/MathML | http://dlmf.nist.gov/LaTeXML/
- zypper - LaTeXML - 0.8.8-2.2: normalized package name match | openSUSE Tumbleweed package metadata: LaTeXML from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | TeX and LaTeX to XML translator | http://dlmf.nist.gov/LaTeXML/
- zypper - perl-LaTeXML - 0.8.8-2.2: normalized package name match | openSUSE Tumbleweed package metadata: perl-LaTeXML from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Perl files for LaTeXML | http://dlmf.nist.gov/LaTeXML/
- MacPorts - LaTeXML: normalized package name match | MacPorts ports tree: tex/LaTeXML/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.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [pdftoipe](https://www.automicvault.com/pkg/brew/pdftoipe/) - Shares av.db curated category or tags: cli, developer-tools, document-conversion, document-processing, xml.
- [texmath](https://www.automicvault.com/pkg/brew/texmath/) - Shares av.db curated category or tags: cli, developer-tools, document-conversion, latex, mathml.
- [tth](https://www.automicvault.com/pkg/brew/tth/) - Shares av.db curated category or tags: cli, developer-tools, document-conversion, html, latex.
- [lowdown](https://www.automicvault.com/pkg/brew/lowdown/) - Shares av.db curated category or tags: cli, developer-tools, document-conversion, html, latex.
- [pandoc](https://www.automicvault.com/pkg/brew/pandoc/) - Shares av.db curated category or tags: cli, developer-tools, document-conversion, html, latex.
- [highlight](https://www.automicvault.com/pkg/brew/highlight/) - Shares av.db curated category or tags: cli, developer-tools, html, latex.
- [html-xml-utils](https://www.automicvault.com/pkg/brew/html-xml-utils/) - Shares av.db curated category or tags: cli, developer-tools, html, xml.
- [htmlcleaner](https://www.automicvault.com/pkg/brew/htmlcleaner/) - Shares av.db curated category or tags: cli, developer-tools, html, xml.

## Combined YAML source

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


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- 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
