macOS
brew install librsvglocal Homebrew formula metadata
sudo port install librsvgMacPorts ports tree · graphics/librsvg/Portfile · 来源: api.github.com
安装
brew install librsvglocal Homebrew formula metadata
sudo port install librsvgMacPorts ports tree · graphics/librsvg/Portfile · 来源: api.github.com
sudo apk add librsvgAlpine Linux edge package indexes · librsvg · 来源: dl-cdn.alpinelinux.org
nix profile install nixpkgs#librsvgnixpkgs package indexes · pkgs/by-name/li/librsvg/package.nix · 来源: api.github.com
sudo pacman -S librsvgArch Linux sync databases · librsvg · 来源: geo.mirror.pkgbuild.com
sudo apt install gir1.2-rsvg-2.0Debian stable package indexes · gir1.2-rsvg-2.0 · 来源: deb.debian.org
sudo zypper install librsvg-2-2openSUSE Tumbleweed package metadata · librsvg-2-2 · 来源: download.opensuse.org
choco install rsvg-convertChocolatey community package catalog · rsvg-convert · 来源: community.chocolatey.org
概览
Library to render SVG files using Cairo
历史
librsvg is GNOME's long-running SVG rendering library and the source of the rsvg-convert command-line tool. It matters in package-manager culture because a small SVG renderer package often sits underneath icon themes, desktop thumbnailers, documentation builds, and scripts that convert SVG assets into raster or PDF outputs.
The librsvg development guide describes the project as starting around 2001, when Eazel needed SVG rendering for Nautilus while SVG itself was still being standardized. Early librsvg used libxml2's SAX parser and libart, then moved to Cairo and grew into a GObject-based GNOME platform library with a stable C API and ABI.
In 2016 the project began porting internals to Rust. By early 2021 the architecture documentation described the implementation as Rust while keeping the public C API and ABI intact, an unusual migration path that let distributions and GNOME consumers keep the same package surface while the internals changed language.
GNOME documents librsvg as part of the GNOME platform libraries: Gnome Shell uses it for SVG assets such as icons, applications can link to librsvg directly, and a gdk-pixbuf loader lets programs load SVG documents through the same path as raster image formats.
The rsvg-convert executable is documented by the project as a widely used tool whose command-line options are kept stable because many scripts and systems depend on it.
Developers use the C API through librsvg-2.0, use GObject Introspection bindings from other languages, or invoke rsvg-convert to render SVG documents to other formats. Desktop environments also use the gdk-pixbuf SVG loader and thumbnailer artifacts produced by the build.
librsvg is a classic small-but-foundational package: it pulls together XML parsing, CSS/SVG rendering, Cairo output, GNOME ABI stability, Rust internals, and a CLI converter. Packagers care about it because SVG rendering regressions can show up as broken icons, bad documentation assets, or failed build pipelines far from the library itself.
安全态势
没有找到 librsvg 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
rsvg-convert | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://wiki.gnome.org/Projects/LibRsvg
安装元数据
| 软件包键 | brew:librsvg |
|---|---|
| 版本 | 2.62.3 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/librsvg |
| 主页 | https://wiki.gnome.org/Projects/LibRsvg |
| 仓库 | https://gitlab.gnome.org/GNOME/librsvg |
| 上游文档 | https://gnome.pages.gitlab.gnome.org/librsvg |
| 许可证 | LGPL-2.1-or-later |
| 源码归档 | https://download.gnome.org/sources/librsvg/2.62/librsvg-2.62.3.tar.xz |
| 最后更新 | 2026-06-22T14:05:21-07:00 |
| Pulse | updated |
| 依赖 | cairo, fontconfig, freetype, gdk-pixbuf, gettext, glib, harfbuzz, libpng, pango |
| 构建依赖 | cargo-c, gobject-introspection, meson, ninja, pkgconf, rust |
| macOS 提供的库 | libxml2 |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | librsvg |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
gir1.2-rsvg-2.0 2.60.0+dfsg-1
gir files for renderer library for SVG files
https://wiki.gnome.org/Projects/LibRsvg
sudo apt install gir1.2-rsvg-2.0librsvg2-2 2.60.0+dfsg-1
SAX-based renderer library for SVG files (runtime)
https://wiki.gnome.org/Projects/LibRsvg
sudo apt install librsvg2-2librsvg2-bin 2.60.0+dfsg-1
command-line utility to convert SVG files
https://wiki.gnome.org/Projects/LibRsvg
sudo apt install librsvg2-binlibrsvg2-common 2.60.0+dfsg-1
SAX-based renderer library for SVG files (extra runtime)
https://wiki.gnome.org/Projects/LibRsvg
sudo apt install librsvg2-commonlibrsvg2-dev 2.60.0+dfsg-1
SAX-based renderer library for SVG files (development)
https://wiki.gnome.org/Projects/LibRsvg
sudo apt install librsvg2-devlibrsvg2-doc 2.60.0+dfsg-1
SAX-based renderer library for SVG files (documentation)
https://wiki.gnome.org/Projects/LibRsvg
sudo apt install librsvg2-doclibrsvg2-tests 2.60.0+dfsg-1
automated tests for RSVG library
https://wiki.gnome.org/Projects/LibRsvg
sudo apt install librsvg2-testslibrsvg
nix profile install nixpkgs#librsvggir1.2-rsvg-2.0 2.58.0+dfsg-1build1
gir files for renderer library for SVG files
https://wiki.gnome.org/Projects/LibRsvg
sudo apt install gir1.2-rsvg-2.0librsvg2-2 2.58.0+dfsg-1build1
SAX-based renderer library for SVG files (runtime)
https://wiki.gnome.org/Projects/LibRsvg
sudo apt install librsvg2-2librsvg2-bin 2.58.0+dfsg-1build1
command-line utility to convert SVG files
https://wiki.gnome.org/Projects/LibRsvg
sudo apt install librsvg2-binlibrsvg2-common 2.58.0+dfsg-1build1
SAX-based renderer library for SVG files (extra runtime)
https://wiki.gnome.org/Projects/LibRsvg
sudo apt install librsvg2-commonlibrsvg2-dev 2.58.0+dfsg-1build1
SAX-based renderer library for SVG files (development)
https://wiki.gnome.org/Projects/LibRsvg
sudo apt install librsvg2-devlibrsvg2-doc 2.58.0+dfsg-1build1
SAX-based renderer library for SVG files (documentation)
https://wiki.gnome.org/Projects/LibRsvg
sudo apt install librsvg2-doclibrsvg2-tests 2.58.0+dfsg-1build1
automated tests for RSVG library
https://wiki.gnome.org/Projects/LibRsvg
sudo apt install librsvg2-testslibrsvg 2.62.3-r0
Library to render SVG images to Cairo surfaces
https://gitlab.gnome.org/GNOME/librsvg
sudo apk add librsvg来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.