Automic VaultAutomic Vault

brew

使用 Homebrew, apk, MacPorts, Nix, pacman, apt, zypper, chocolatey 安装 librsvg

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install librsvg

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install librsvg

MacPorts ports tree · graphics/librsvg/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add librsvg

Alpine Linux edge package indexes · librsvg · 来源: dl-cdn.alpinelinux.org

Nix已验证 · 92%
nix profile install nixpkgs#librsvg

nixpkgs package indexes · pkgs/by-name/li/librsvg/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S librsvg

Arch Linux sync databases · librsvg · 来源: geo.mirror.pkgbuild.com

Debian apt已验证 · 92%
sudo apt install gir1.2-rsvg-2.0

Debian stable package indexes · gir1.2-rsvg-2.0 · 来源: deb.debian.org

openSUSE zypper已验证 · 92%
sudo zypper install librsvg-2-2

openSUSE Tumbleweed package metadata · librsvg-2-2 · 来源: download.opensuse.org

概览

软件包摘要

Library to render SVG files using Cairo

命令和别名

  • rsvg-convert

历史

项目历史与用法

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.

时间线

  • 2001: Started around Eazel and Nautilus to render SVG images in GNOME.
  • 2013: The 2.40.0 tag began a long stable release series.
  • 2016: Rust porting work began inside the project.
  • 2017: The 2.41.0 tag opened the Rust-era development series.
  • 2021: Project architecture documentation described the library implementation as Rust with the C API and ABI preserved.
  • 2023: Version 2.57.0 made librsvg available as a regular Rust crate on crates.io.

Related projects

  • Related projects include GNOME, Nautilus, Cairo, libxml2, gdk-pixbuf, crates.io, and the SVG specification.

安全态势

尚未找到受保护工具覆盖

没有找到 librsvg 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 9 个运行时依赖。
  • 构建元数据列出 6 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
rsvg-convertcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本2.62.3
管理器更新时间2026-06-22
本地数据OK
上游not checked
检测到的最新版本未检测到

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
Pulseupdated
依赖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 DatabaseHomebrew formula API
Taphomebrew/core
Full Namelibrsvg
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

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.0
  • Section: introspection
  • Architecture: amd64
  • Source Package: librsvg
  • 6 依赖
  • normalized package name match
  • 匹配方式:Librsvg
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gir1.2-rsvg-2.0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

librsvg2-2 2.60.0+dfsg-1

SAX-based renderer library for SVG files (runtime)

https://wiki.gnome.org/Projects/LibRsvg

sudo apt install librsvg2-2
  • Section: libs
  • Architecture: amd64
  • Source Package: librsvg
  • 10 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Librsvg
Debian stable package indexes · deb.debian.org · Debian stable package indexes: librsvg2-2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

librsvg2-bin 2.60.0+dfsg-1

command-line utility to convert SVG files

https://wiki.gnome.org/Projects/LibRsvg

sudo apt install librsvg2-bin
  • Section: graphics
  • Architecture: amd64
  • Source Package: librsvg
  • 10 依赖
  • normalized package name match
  • 匹配方式:Librsvg
Debian stable package indexes · deb.debian.org · Debian stable package indexes: librsvg2-bin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

librsvg2-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-common
  • Section: libs
  • Architecture: amd64
  • Source Package: librsvg
  • 5 依赖
  • normalized package name match
  • 匹配方式:Librsvg
Debian stable package indexes · deb.debian.org · Debian stable package indexes: librsvg2-common from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

librsvg2-dev 2.60.0+dfsg-1

SAX-based renderer library for SVG files (development)

https://wiki.gnome.org/Projects/LibRsvg

sudo apt install librsvg2-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: librsvg
  • 14 依赖
  • 1 提供
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Librsvg
Debian stable package indexes · deb.debian.org · Debian stable package indexes: librsvg2-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

librsvg2-doc 2.60.0+dfsg-1

SAX-based renderer library for SVG files (documentation)

https://wiki.gnome.org/Projects/LibRsvg

sudo apt install librsvg2-doc
  • Section: doc
  • Architecture: all
  • Source Package: librsvg
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Librsvg
Debian stable package indexes · deb.debian.org · Debian stable package indexes: librsvg2-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

librsvg2-tests 2.60.0+dfsg-1

automated tests for RSVG library

https://wiki.gnome.org/Projects/LibRsvg

sudo apt install librsvg2-tests
  • Section: misc
  • Architecture: amd64
  • Source Package: librsvg
  • normalized package name match
  • 匹配方式:Librsvg
Debian stable package indexes · deb.debian.org · Debian stable package indexes: librsvg2-tests from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

librsvg

nix profile install nixpkgs#librsvg
  • normalized package name match
  • 匹配方式:Librsvg
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/li/librsvg/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

gir1.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.0
  • Section: introspection
  • Architecture: amd64
  • Source Package: librsvg
  • 6 依赖
  • normalized package name match
  • 匹配方式:Librsvg
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gir1.2-rsvg-2.0 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

librsvg2-2 2.58.0+dfsg-1build1

SAX-based renderer library for SVG files (runtime)

https://wiki.gnome.org/Projects/LibRsvg

sudo apt install librsvg2-2
  • Section: libs
  • Architecture: amd64
  • Source Package: librsvg
  • 9 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Librsvg
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: librsvg2-2 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

librsvg2-bin 2.58.0+dfsg-1build1

command-line utility to convert SVG files

https://wiki.gnome.org/Projects/LibRsvg

sudo apt install librsvg2-bin
  • Section: universe/graphics
  • Architecture: amd64
  • Source Package: librsvg
  • 12 依赖
  • normalized package name match
  • 匹配方式:Librsvg
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: librsvg2-bin from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

librsvg2-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-common
  • Section: libs
  • Architecture: amd64
  • Source Package: librsvg
  • 3 依赖
  • normalized package name match
  • 匹配方式:Librsvg
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: librsvg2-common from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

librsvg2-dev 2.58.0+dfsg-1build1

SAX-based renderer library for SVG files (development)

https://wiki.gnome.org/Projects/LibRsvg

sudo apt install librsvg2-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: librsvg
  • 11 依赖
  • 1 提供
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Librsvg
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: librsvg2-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

librsvg2-doc 2.58.0+dfsg-1build1

SAX-based renderer library for SVG files (documentation)

https://wiki.gnome.org/Projects/LibRsvg

sudo apt install librsvg2-doc
  • Section: doc
  • Architecture: all
  • Source Package: librsvg
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Librsvg
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: librsvg2-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

librsvg2-tests 2.58.0+dfsg-1build1

automated tests for RSVG library

https://wiki.gnome.org/Projects/LibRsvg

sudo apt install librsvg2-tests
  • Section: universe/misc
  • Architecture: amd64
  • Source Package: librsvg
  • 11 依赖
  • normalized package name match
  • 匹配方式:Librsvg
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: librsvg2-tests from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

librsvg 2.62.3-r0

Library to render SVG images to Cairo surfaces

https://gitlab.gnome.org/GNOME/librsvg

sudo apk add librsvg
  • License: LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: librsvg
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Librsvg
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: librsvg from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment