How To Install librsvg2-common on Ubuntu 20.04

In this tutorial we learn how to install librsvg2-common on Ubuntu 20.04. librsvg2-common is SAX-based renderer library for SVG files (extra runtime) SAX-based renderer library for SVG files (extra runtime)

Introduction

In this tutorial we learn how to install librsvg2-common on Ubuntu 20.04.

What is librsvg2-common

librsvg2-common is:

The rsvg library is an efficient renderer for Scalable Vector Graphics (SVG) pictures.

This package includes the gdk-pixbuf loader allowing to load SVG images transparently inside GTK+ applications. Task: ubuntu-desktop-minimal, ubuntu-desktop, kubuntu-desktop, xubuntu-core, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop

Package: librsvg2-common Architecture: amd64 Version: 2.48.2-1 Multi-Arch: same Priority: optional Section: libs Source: librsvg Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian GNOME Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 62 Depends: librsvg2-2 (= 2.48.2-1), libgdk-pixbuf2.0-0 (>= 2.23.5-2), libglib2.0-0 (>= 2.24.0) Filename: pool/main/libr/librsvg/librsvg2-common_2.48.2-1_amd64.deb Size: 9188 MD5sum: f353b755dd66aacde8c436f1048a8464 SHA1: ac5b2b49ca184d6faf133b5238235ac35a67a529 SHA256: 707df015c6a7265e4fb44f9809b87c49f2f852edf174746737c2e1220427ace8 Homepage: https://wiki.gnome.org/Projects/LibRsvg Description-en: SAX-based renderer library for SVG files (extra runtime) The rsvg library is an efficient renderer for Scalable Vector Graphics (SVG) pictures.

This package includes the gdk-pixbuf loader allowing to load SVG images transparently inside GTK+ applications. Task: ubuntu-desktop-minimal, ubuntu-desktop, kubuntu-desktop, xubuntu-core, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop

There are three methods to install librsvg2-common on Ubuntu 20.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install librsvg2-common Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install librsvg2-common using apt-get by running the following command:

sudo apt-get -y install librsvg2-common

Install librsvg2-common Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install librsvg2-common using apt by running the following command:

sudo apt -y install librsvg2-common

Install librsvg2-common Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install librsvg2-common using aptitude by running the following command:

sudo aptitude -y install librsvg2-common

How To Uninstall librsvg2-common on Ubuntu 20.04

To uninstall only the librsvg2-common package we can use the following command:

sudo apt-get remove librsvg2-common

Uninstall librsvg2-common And Its Dependencies

To uninstall librsvg2-common and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove librsvg2-common

Remove librsvg2-common Configurations and Data

To remove librsvg2-common configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge librsvg2-common

Remove librsvg2-common configuration, data, and all of its dependencies

We can use the following command to remove librsvg2-common configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge librsvg2-common

References

Summary

In this tutorial we learn how to install librsvg2-common package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.