# 使用 Homebrew, apk, apt, MacPorts, pacman 安装 dvisvgm

查看 dvisvgm 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install dvisvgm
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install dvisvgm
```

  证据: 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
```

  证据: 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
```

  证据: 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
```

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

## 软件包事实

- **软件包键:** brew:dvisvgm
- **软件包管理器:** Homebrew
- **版本:** 3.6
- **来源摘要:** Fast DVI to SVG converter
- **主页:** <https://dvisvgm.de>
- **仓库:** <https://github.com/mgieseki/dvisvgm>
- **最后更新:** 2026-06-22T14:03:12-07:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- dvisvgm (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 3.6
## 项目历史与用法

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.

### 项目历史

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.

### 采用历史

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.

### 使用方式

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.

### 为什么软件包爱好者会关心

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.

### 时间线

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

### 来源

- <https://dvisvgm.de/Manpage>
- <https://api.github.com/repos/mgieseki/dvisvgm>
- <https://api.github.com/repos/mgieseki/dvisvgm/releases>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 其他软件包管理器记录

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


## 来源

- 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
