Introduction to librsvg

The librsvg package contains a library and tools used to manipulate, convert and view Scalable Vector Graphic (SVG) images.

This package is known to build and work properly using an LFS-7.4 platform.

Package Information

librsvg Dependencies


gdk-pixbuf-2.28.2, libcroco-0.6.8 and Pango-1.34.1


Optional (Required if building GNOME)

gobject-introspection-1.36.0 and Vala-0.20.1



User Notes:

Installation of librsvg

Install librsvg by running the following commands:

./configure --prefix=/usr \
            --enable-vala \
            --disable-static &&

To test the results, issue: make -k check. Some tests are known to fail for unknown reasons.

Now, as the root user:

make install

Command Explanations

--enable-vala: This switch enables building of the Vala bindings. Remove if you don't have Vala-0.20.1 installed.

--disable-static: This switch prevents installation of static versions of the libraries.

--disable-introspection: Use this switch if you have not installed Gobject Introspection.

--disable-gtk-theme: Use this switch if you have not installed GTK+ 2.

--enable-gtk-doc: Use this parameter if GTK-Doc is installed and you wish to rebuild and install the API documentation.


Installed Programs: rsvg-convert and rsvg-view-3
Installed Library: and
Installed Directories: /usr/include/librsvg-2, /usr/share/gtk-doc/html/rsvg and /usr/share/themes/bubble

Short Descriptions


is used to covert SVG images into PNG, JPEG and ICO raster images.


is a simple GTK+ 3 application that can be used to view an SVG file.

provides the functions to render Scalable Vector Graphics.

is the Gdk Pixbuf plugin that allows GTK+ applications to render Scalable Vector Graphics images.

Last updated on 2013-08-25 13:13:24 -0700