# 使用 Homebrew, apk, apt, Nix, pacman, zypper, scoop 安装 resvg

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

## 安装

```sh
sudo av install brew:resvg
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install resvg
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add resvg
```

  证据: Alpine Linux edge package indexes: resvg from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install resvg
```

  证据: Debian stable package indexes: resvg from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#resvg
```

  证据: nixpkgs package indexes: pkgs/by-name/re/resvg/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S resvg
```

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

- zypper (92%):

```sh
sudo zypper install resvg
```

  证据: openSUSE Tumbleweed package metadata: resvg from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install main/resvg
```

  证据: Scoop official bucket manifest trees: bucket/resvg.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:resvg
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/resvg>
- **版本:** 0.48.1
- **来源摘要:** SVG rendering tool and library
- **主页:** <https://github.com/linebender/resvg>
- **仓库:** <https://github.com/linebender/resvg>
- **许可证:** MPL-2.0
- **源码归档:** <https://github.com/linebender/resvg/archive/refs/tags/v0.48.1.tar.gz>
- **最后更新:** 2026-08-02T16:08:05Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- resvg (cli)
- usvg (cli)
- resvg (别名)
- usvg (别名)

## 构建依赖

- cargo-c
- rust

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.48.1
- 管理器更新时间: 2026-08-02
- 本地数据: OK
- 上游仓库: https://github.com/linebender/resvg
- 检测到的最新版本: v0.48.1 (当前)

## 安全说明

library-like package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- library-like package without higher-risk signals

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** resvg
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

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

- Debian apt - librust-resvg-dev - 0.45.1-1: normalized package name match | Debian stable package indexes: librust-resvg-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | SVG rendering library - Rust source code | https://github.com/linebender/resvg
- Debian apt - librust-usvg-dev - 0.45.1-1: normalized package name match | Debian stable package indexes: librust-usvg-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | SVG simplification library - Rust source code | https://github.com/linebender/resvg
- Debian apt - resvg - 0.45.1-1: normalized package name match | Debian stable package indexes: resvg from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | SVG rendering library (command-line utility) | https://github.com/linebender/resvg
- Debian apt - usvg - 0.45.1-1: normalized package name match | Debian stable package indexes: usvg from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | SVG simplification tool | https://github.com/linebender/resvg
- Nix - resvg: normalized package name match | nixpkgs package indexes: pkgs/by-name/re/resvg/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - resvg - 0.47.0-r1: normalized package name match | Alpine Linux edge package indexes: resvg from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | SVG rendering library | https://github.com/linebender/resvg
- apk - resvg-dev - 0.47.0-r1: normalized package name match | Alpine Linux edge package indexes: resvg-dev from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | SVG rendering library (development files) | https://github.com/linebender/resvg
- apk - resvg-libs - 0.47.0-r1: normalized package name match | Alpine Linux edge package indexes: resvg-libs from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | SVG rendering library (libraries) | https://github.com/linebender/resvg
- pacman - resvg - 0.47.0-4: normalized package name match | Arch Linux sync databases: resvg from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | SVG rendering library and CLI | https://github.com/linebender/resvg
- zypper - libresvg0 - 0.47.0-1.6: normalized package name match | openSUSE Tumbleweed package metadata: libresvg0 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | SVG rendering library (C++/Qt API) | https://github.com/linebender/resvg
- zypper - resvg - 0.47.0-1.6: normalized package name match | openSUSE Tumbleweed package metadata: resvg from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | SVG rendering library | https://github.com/linebender/resvg
- zypper - resvg-devel - 0.47.0-1.6: normalized package name match | openSUSE Tumbleweed package metadata: resvg-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | SVG rendering library (C++/Qt API) | https://github.com/linebender/resvg
- zypper - resvg-devel-static - 0.47.0-1.6: normalized package name match | openSUSE Tumbleweed package metadata: resvg-devel-static from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | SVG rendering library (C++/Qt API) | https://github.com/linebender/resvg
- zypper - usvg - 0.47.0-1.6: normalized package name match | openSUSE Tumbleweed package metadata: usvg from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | SVG simplification tool | https://github.com/linebender/resvg
- Scoop - main/resvg: normalized package name match | Scoop official bucket manifest trees: bucket/resvg.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://pkg.so/zh-hans/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [rust](https://pkg.so/zh-hans/brew/rust/) - Build dependency declared by Homebrew.
- [cargo-c](https://pkg.so/zh-hans/brew/cargo-c/) - Build dependency declared by Homebrew.
- [libsail](https://pkg.so/zh-hans/brew/libsail/) - Popular package that depends on this formula.
- [dicebear](https://pkg.so/zh-hans/brew/dicebear/) - Shares pkgdb curated category or tags: cli, graphics, media, svg.
- [libemf2svg](https://pkg.so/zh-hans/brew/libemf2svg/) - Shares pkgdb curated category or tags: cli, graphics, media, svg.
- [batik](https://pkg.so/zh-hans/brew/batik/) - Shares pkgdb curated category or tags: cli, graphics, media, svg.
- [cairo](https://pkg.so/zh-hans/brew/cairo/) - Shares pkgdb curated category or tags: cli, graphics, media, svg.
- [librsvg](https://pkg.so/zh-hans/brew/librsvg/) - Shares pkgdb curated category or tags: cli, graphics, media, svg.
- [potrace](https://pkg.so/zh-hans/brew/potrace/) - Shares pkgdb curated category or tags: cli, graphics, media, svg.
- [fig2dev](https://pkg.so/zh-hans/brew/fig2dev/) - Shares pkgdb curated category or tags: cli, graphics, media.
- [epstool](https://pkg.so/zh-hans/brew/epstool/) - Shares pkgdb curated category or tags: cli, graphics, media.
- [react-native-nano-icons](https://pkg.so/zh-hans/npm/react-native-nano-icons/) - Both packages work with overlapping file formats or content types. Shared terms: cli, graphics, media, rendering, svg.
- [resvg](https://pkg.so/zh-hans/cargo/resvg/) - Same normalized package name exists in another local package ecosystem.

## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
