Automic VaultAutomic Vault

brew

Install librsvg with Homebrew, apk, apt, MacPorts, Nix, pacman, zypper, chocolatey

Library to render SVG files using Cairo. Version 2.62.3 via Homebrew; verified 2026-06-22.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install librsvg

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install librsvg

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

Linux

Alpine Linux apkverified · 92%
sudo apk add librsvg

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

Debian aptverified · 92%
sudo apt install gir1.2-rsvg-2.0

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

Nixverified · 92%
nix profile install nixpkgs#librsvg

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

Arch Linux pacmanverified · 92%
sudo pacman -S librsvg

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

openSUSE zypperverified · 92%
sudo zypper install librsvg-2-2

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

overview

Package summary

Library to render SVG files using Cairo

Commands and aliases

  • rsvg-convert

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 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.

security posture

No protected-tool coverage found yet

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.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 9 runtime dependencies.
  • Build metadata lists 6 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
rsvg-convertcliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version2.62.3
manager updated2026-06-22
local dataok
upstreamnot checked
latest detectednot detected

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

install metadata

Package metadata

Package keybrew:librsvg
Version2.62.3
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/librsvg
Homepagehttps://wiki.gnome.org/Projects/LibRsvg
Repositoryhttps://gitlab.gnome.org/GNOME/librsvg
Upstream docshttps://gnome.pages.gitlab.gnome.org/librsvg
LicenseLGPL-2.1-or-later
Source archivehttps://download.gnome.org/sources/librsvg/2.62/librsvg-2.62.3.tar.xz
Last updated2026-06-22T14:05:21-07:00
Pulseupdated
Dependenciescairo, fontconfig, freetype, gdk-pixbuf, gettext, glib, harfbuzz, libpng, pango
Build dependenciescargo-c, gobject-introspection, meson, ninja, pkgconf, rust
Uses from macOSlibxml2
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • 2 optional deps
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • 1 optional deps
  • normalized package name match
  • Matched by: 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 optional deps
  • normalized package name match
  • Matched by: 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
  • Matched by: 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
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • 2 optional deps
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • 1 optional deps
  • normalized package name match
  • Matched by: 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 optional deps
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • 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