# 使用 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
- **软件包管理器页面:** <https://formulae.brew.sh/formula/dvisvgm>
- **版本:** 3.6.1
- **来源摘要:** Fast DVI to SVG converter
- **主页:** <https://dvisvgm.de>
- **仓库:** <https://github.com/mgieseki/dvisvgm>
- **上游文档:** <https://dvisvgm.de>
- **许可证:** GPL-3.0-or-later
- **源码归档:** <https://github.com/mgieseki/dvisvgm/releases/download/3.6/dvisvgm-3.6.tar.gz>
- **最后更新:** 2026-08-04T09:37:01Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- dvisvgm (cli)
- dvisvgm (别名)

## 依赖

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

## 构建依赖

- autoconf
- automake
- libtool
- pkgconf

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 3.6.1
- 管理器更新时间: 2026-08-04
- 本地数据: OK
- 上游仓库: https://github.com/mgieseki/dvisvgm
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

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

## 源数据库详情

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

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

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


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [brotli](https://pkg.so/zh-hans/brew/brotli/) - Runtime dependency declared by Homebrew.
- [freetype](https://pkg.so/zh-hans/brew/freetype/) - Runtime dependency declared by Homebrew.
- [ghostscript](https://pkg.so/zh-hans/brew/ghostscript/) - Runtime dependency declared by Homebrew.
- [potrace](https://pkg.so/zh-hans/brew/potrace/) - Runtime dependency declared by Homebrew.
- [texlive](https://pkg.so/zh-hans/brew/texlive/) - Runtime dependency declared by Homebrew.
- [woff2](https://pkg.so/zh-hans/brew/woff2/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [libtool](https://pkg.so/zh-hans/brew/libtool/) - Build dependency declared by Homebrew.
- [autoconf](https://pkg.so/zh-hans/brew/autoconf/) - Build dependency declared by Homebrew.
- [automake](https://pkg.so/zh-hans/brew/automake/) - Build dependency declared by Homebrew.
- [mermaid-cli](https://pkg.so/zh-hans/brew/mermaid-cli/) - Shares pkgdb curated category or tags: cli, developer-tools, documentation, pdf, svg.
- [noweb](https://pkg.so/zh-hans/brew/noweb/) - Shares pkgdb curated category or tags: cli, developer-tools, documentation, tex.
- [doxygen](https://pkg.so/zh-hans/brew/doxygen/) - Shares pkgdb curated category or tags: cli, developer-tools, documentation.
- [docutils](https://pkg.so/zh-hans/brew/docutils/) - Shares pkgdb curated category or tags: cli, developer-tools, documentation.
- [docbook-xsl](https://pkg.so/zh-hans/brew/docbook-xsl/) - Shares pkgdb curated category or tags: cli, developer-tools, documentation.
- [asciidoc](https://pkg.so/zh-hans/brew/asciidoc/) - Shares pkgdb curated category or tags: cli, developer-tools, documentation.
- [asciidoctor](https://pkg.so/zh-hans/brew/asciidoctor/) - Shares pkgdb curated category or tags: cli, developer-tools, documentation.
- [mdbook](https://pkg.so/zh-hans/brew/mdbook/) - Shares pkgdb curated category or tags: cli, developer-tools, documentation.

## 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
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
