# Install dvisvgm with Homebrew, apk, apt, MacPorts, pacman

Fast DVI to SVG converter. Version 3.6 via Homebrew; verified 2026-06-22.

## Install

```sh
sudo av install brew:dvisvgm
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install dvisvgm
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install dvisvgm
```

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

### Linux

- apk (92%):

```sh
sudo apk add dvisvgm
```

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

- Debian apt (92%):

```sh
sudo apt install dvisvgm
```

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

- pacman (92%):

```sh
sudo pacman -S dvisvgm
```

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

## Package facts

- **Package key:** brew:dvisvgm
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/dvisvgm>
- **Version:** 3.6
- **Source summary:** Fast DVI to SVG converter
- **Homepage:** <https://dvisvgm.de>
- **Repository:** <https://github.com/mgieseki/dvisvgm>
- **Upstream docs:** <https://dvisvgm.de/Manpage>
- **License:** GPL-3.0-or-later
- **Source archive:** <https://github.com/mgieseki/dvisvgm/releases/download/3.6/dvisvgm-3.6.tar.gz>
- **Last updated:** 2026-06-22T14:03:12-07:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- dvisvgm (cli)
- dvisvgm (alias)

## Dependencies

- brotli
- freetype
- ghostscript
- potrace
- texlive
- woff2

## Build dependencies

- autoconf
- automake
- libtool
- pkgconf

## 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: 3.6
- Package-manager updated: 2026-06-22
- Local data: ok
- Upstream repository: https://github.com/mgieseki/dvisvgm
- info: No cached GitHub release or tag data was available.
## Project history and usage

dvisvgm is a TeX-oriented command-line converter that turns DVI, EPS, and PDF input into SVG. Its manual page emphasizes DVI and XDV support, TeX specials, font outline extraction, Metafont bitmap tracing, multi-page output handling, and SVG compatibility options.

### Project history

The public GitHub repository was created in April 2013, and GitHub release metadata records release 1.9 in February 2015. The project is maintained by Martin Gieseking and has grown from a DVI-to-SVG converter into a broader TeX graphics conversion tool with EPS and PDF modes.

The manual page reflects the project's close relationship with TeX internals: it supports classic DVI, pTeX vertical-mode DVI, XeTeX/XDV, specials, font embedding choices, WOFF/WOFF2 output for DVI-derived fonts, and path conversion for PDF and PostScript text.

dvisvgm also maintains a practical local cache for converted bitmap fonts under XDG cache locations, showing the sort of engineering needed to bridge old TeX font formats and modern web/vector output.

### Adoption history

dvisvgm's adoption comes from the TeX and documentation ecosystem, where SVG output is useful for web pages, generated docs, previews, and math-heavy publishing workflows. The input package metadata lists broad distribution packaging across Homebrew, Debian, Ubuntu, Alpine, Arch, and MacPorts.

That cross-distribution packaging matters because dvisvgm is often installed as part of a larger TeX workflow rather than discovered as a standalone graphics app. Package managers make it available beside TeX Live, Ghostscript, and font tooling where automated document builds can call it.

### How it is used

Users typically run dvisvgm on DVI/XDV files produced by TeX engines, or on EPS/PDF inputs using the corresponding modes. The common package-manager surface is a single CLI executable, dvisvgm, with options for page selection, bounding boxes, font conversion, bitmap embedding, color behavior, and output portability.

The manpage documents an XDG-style font cache at $XDG_CACHE_HOME/dvisvgm/ or $HOME/.cache/dvisvgm, which is important for repeat conversions of Metafont-derived bitmap fonts.

### Why package nerds care

dvisvgm is important package plumbing because it connects a decades-old TeX output format to browser-native SVG without requiring a full graphical application. It sits at a useful intersection of TeX engines, font libraries, Ghostscript/PostScript/PDF handling, and reproducible documentation builds.

For packagers, dvisvgm is also a dependency-sensitive converter: its useful behavior depends on the TeX installation, font availability, Ghostscript support, and optional image/font formats. That makes it more interesting than a simple file-format filter.

### Timeline

- 2013: The official GitHub repository is created.
- 2015: GitHub release metadata records dvisvgm 1.9.
- 2025: GitHub release metadata records dvisvgm 3.6.

### Related projects

- TeX, LaTeX, pTeX, and XeTeX/XDV are direct input-producing ecosystems documented in the manual page.
- Ghostscript, PostScript, PDF, SVG, Metafont, and modern font formats such as PFB, TTF, OTF, WOFF, and WOFF2 are adjacent technologies named in the manual.

### Sources

- <https://dvisvgm.de/Manpage>
- <https://api.github.com/repos/mgieseki/dvisvgm>
- <https://api.github.com/repos/mgieseki/dvisvgm/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:** dvisvgm
- **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 - dvisvgm - 3.4.4+ds-1: normalized package name match | Debian stable package indexes: dvisvgm from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | DVI to SVG converter | https://dvisvgm.de/
- Ubuntu apt - dvisvgm - 3.2.1+ds-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: dvisvgm from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | DVI to SVG converter | https://dvisvgm.de/
- apk - dvisvgm - 3.6-r0: normalized package name match | Alpine Linux edge package indexes: dvisvgm from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A fast DVI, EPS, and PDF to SVG converter | https://github.com/mgieseki/dvisvgm
- apk - dvisvgm-doc - 3.6-r0: normalized package name match | Alpine Linux edge package indexes: dvisvgm-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A fast DVI, EPS, and PDF to SVG converter (documentation) | https://github.com/mgieseki/dvisvgm
- pacman - dvisvgm - 3.6-2: normalized package name match | Arch Linux sync databases: dvisvgm from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A fast DVI, EPS, and PDF to SVG converter | https://dvisvgm.de/
- MacPorts - dvisvgm: normalized package name match | MacPorts ports tree: graphics/dvisvgm/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.
- [brotli](https://www.automicvault.com/pkg/brew/brotli/) - Runtime dependency declared by Homebrew.
- [freetype](https://www.automicvault.com/pkg/brew/freetype/) - Runtime dependency declared by Homebrew.
- [ghostscript](https://www.automicvault.com/pkg/brew/ghostscript/) - Runtime dependency declared by Homebrew.
- [potrace](https://www.automicvault.com/pkg/brew/potrace/) - Runtime dependency declared by Homebrew.
- [texlive](https://www.automicvault.com/pkg/brew/texlive/) - Runtime dependency declared by Homebrew.
- [woff2](https://www.automicvault.com/pkg/brew/woff2/) - Runtime dependency declared by Homebrew.
- [autoconf](https://www.automicvault.com/pkg/brew/autoconf/) - Build dependency declared by Homebrew.
- [automake](https://www.automicvault.com/pkg/brew/automake/) - Build dependency declared by Homebrew.
- [libtool](https://www.automicvault.com/pkg/brew/libtool/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [mermaid-cli](https://www.automicvault.com/pkg/brew/mermaid-cli/) - Shares av.db curated category or tags: cli, developer-tools, documentation, pdf, svg.
- [noweb](https://www.automicvault.com/pkg/brew/noweb/) - Shares av.db curated category or tags: cli, developer-tools, documentation, tex.
- [tth](https://www.automicvault.com/pkg/brew/tth/) - Shares av.db curated category or tags: cli, developer-tools, documentation, tex.
- [action-docs](https://www.automicvault.com/pkg/brew/action-docs/) - Shares av.db curated category or tags: cli, developer-tools, documentation.
- [adr-tools](https://www.automicvault.com/pkg/brew/adr-tools/) - Shares av.db curated category or tags: cli, developer-tools, documentation.
- [adr-viewer](https://www.automicvault.com/pkg/brew/adr-viewer/) - Shares av.db curated category or tags: cli, developer-tools, documentation.
- [cargo-docset](https://www.automicvault.com/pkg/brew/cargo-docset/) - Shares av.db curated category or tags: cli, developer-tools, documentation.
- [htmldoc](https://www.automicvault.com/pkg/brew/htmldoc/) - Both packages work with overlapping file formats or content types. Shared terms: cli, conversion, converter, developer, developer-tools.

## Combined YAML source

View the package source record on GitHub. [combined/dvisvgm.yml](https://github.com/automic-vault/db/blob/main/combined/dvisvgm.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
