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

Fast DVI to SVG converter. Version 3.6 via Homebrew; verified 2026-06-22. Also installable with debian: sudo apt install dvisvgm.

## 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
- **Version:** 3.6
- **Source summary:** Fast DVI to SVG converter
- **Homepage:** <https://dvisvgm.de>
- **Repository:** <https://github.com/mgieseki/dvisvgm>
- **Last updated:** 2026-06-22T14:03:12-07:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- dvisvgm (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 3.6
## 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

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


## Combined YAML source

View the package source record on GitHub. [combined/dvisvgm.yml](https://github.com/mxcl/pkgdb/blob/main/combined/dvisvgm.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
