How To Install libsvgpp-dev on Ubuntu 18.04

In this tutorial we learn how to install libsvgpp-dev on Ubuntu 18.04. libsvgpp-dev is SVG-framework with parsers for various syntaxes and adapters. Development files

Introduction

In this tutorial we learn how to install libsvgpp-dev on Ubuntu 18.04.

What is libsvgpp-dev

libsvgpp-dev is:

The library can be thought of as a framework, containing parsers for various SVG syntaxes, adapters that simplify handling of parsed data and a lot of other utilities and helpers for the most common tasks. SVG++ features

  • Is a header-only library
  • Can be used with any XML parser
  • Compile time configured - no virtual functions
  • Minimal runtime overhead - you pay only for what you get
  • Fully functional, conforming SVG viewers
  • Simple in-app SVG rasterizers
  • Import modules of vector editing software
  • Implementing path-only input of SVG format with minimal efforts in any graphics or math software
  • Compatible with C++03, but requires conforming implementation

The package contains the header development files.

There are three methods to install libsvgpp-dev on Ubuntu 18.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 libsvgpp-dev Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libsvgpp-dev

Install libsvgpp-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libsvgpp-dev

Install libsvgpp-dev 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 libsvgpp-dev using aptitude by running the following command:

sudo aptitude -y install libsvgpp-dev

How To Uninstall libsvgpp-dev on Ubuntu 18.04

To uninstall only the libsvgpp-dev package we can use the following command:

sudo apt-get remove libsvgpp-dev

Uninstall libsvgpp-dev And Its Dependencies

To uninstall libsvgpp-dev and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libsvgpp-dev

Remove libsvgpp-dev Configurations and Data

To remove libsvgpp-dev configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libsvgpp-dev

Remove libsvgpp-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libsvgpp-dev

References

Summary

In this tutorial we learn how to install libsvgpp-dev package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.