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-9.0 platform.

Package Information

librsvg Dependencies


gdk-pixbuf-2.38.1, libcroco-0.6.13, Cairo-1.16.0, Pango-1.42.4, and rustc-1.35.0




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 check. There are a substantial number of failures in the test suite.

Now, as the root user:

make install


If you installed the package on to your system using a “DESTDIR” method, an important file was not installed and should be copied and/or generated. Generate it using the following command as the root user:

gdk-pixbuf-query-loaders --update-cache

Command Explanations

--enable-vala: This switch enables building of the Vala bindings. Remove this switch if you don't have Vala-0.44.7 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.

--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.0 and /usr/share/gtk-doc/html/rsvg-2.0

Short Descriptions


is used to convert images into PNG, PDF, PS, SVG and other formats.


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 2019-08-18 13:33:32 -0700