How To Install libsvgpp-doc on Ubuntu 18.04

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

Introduction

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

What is libsvgpp-doc

libsvgpp-doc 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 documentation.

There are three methods to install libsvgpp-doc 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-doc 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-doc using apt-get by running the following command:

sudo apt-get -y install libsvgpp-doc

Install libsvgpp-doc Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libsvgpp-doc

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

sudo aptitude -y install libsvgpp-doc

How To Uninstall libsvgpp-doc on Ubuntu 18.04

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

sudo apt-get remove libsvgpp-doc

Uninstall libsvgpp-doc And Its Dependencies

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

sudo apt-get -y autoremove libsvgpp-doc

Remove libsvgpp-doc Configurations and Data

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

sudo apt-get -y purge libsvgpp-doc

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

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

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

References

Summary

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