macOS
brew install librsvglocal Homebrew formula metadata
sudo port install librsvgMacPorts ports tree · graphics/librsvg/Portfile · source: api.github.com
brew
Library to render SVG files using Cairo. Version 2.62.3 via Homebrew; verified 2026-06-22.
install
brew install librsvglocal Homebrew formula metadata
sudo port install librsvgMacPorts ports tree · graphics/librsvg/Portfile · source: api.github.com
sudo apk add librsvgAlpine Linux edge package indexes · librsvg · source: dl-cdn.alpinelinux.org
sudo apt install gir1.2-rsvg-2.0Debian stable package indexes · gir1.2-rsvg-2.0 · source: deb.debian.org
nix profile install nixpkgs#librsvgnixpkgs package indexes · pkgs/by-name/li/librsvg/package.nix · source: api.github.com
sudo pacman -S librsvgArch Linux sync databases · librsvg · source: geo.mirror.pkgbuild.com
sudo zypper install librsvg-2-2openSUSE Tumbleweed package metadata · librsvg-2-2 · source: download.opensuse.org
choco install rsvg-convertChocolatey community package catalog · rsvg-convert · source: community.chocolatey.org
overview
Library to render SVG files using Cairo
history
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.
security posture
No matching local secret-handling manifest was found for librsvg. Nucleus package metadata is still published here so future coverage has a stable package URL.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
rsvg-convert | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://wiki.gnome.org/Projects/LibRsvg
install metadata
| Package key | brew:librsvg |
|---|---|
| Version | 2.62.3 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/librsvg |
| Homepage | https://wiki.gnome.org/Projects/LibRsvg |
| Repository | https://gitlab.gnome.org/GNOME/librsvg |
| Upstream docs | https://gnome.pages.gitlab.gnome.org/librsvg |
| License | LGPL-2.1-or-later |
| Source archive | https://download.gnome.org/sources/librsvg/2.62/librsvg-2.62.3.tar.xz |
| Last updated | 2026-06-22T14:05:21-07:00 |
| Pulse | updated |
| Dependencies | cairo, fontconfig, freetype, gdk-pixbuf, gettext, glib, harfbuzz, libpng, pango |
| Build dependencies | cargo-c, gobject-introspection, meson, ninja, pkgconf, rust |
| Uses from macOS | libxml2 |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
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 librsvgsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.