How To Install svgpart on Ubuntu 18.04

In this tutorial we learn how to install svgpart on Ubuntu 18.04. svgpart is KDE SVG KPart

Introduction

In this tutorial we learn how to install svgpart on Ubuntu 18.04.

What is svgpart

svgpart is:

SvgPart is a small KDE KPart component to display SVG images in Gwenview and in any other KDE application which uses the KPart system.

This package is part of the KDE graphics module.

There are three methods to install svgpart 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 svgpart Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install svgpart

Install svgpart Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install svgpart using apt by running the following command:

sudo apt -y install svgpart

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

sudo aptitude -y install svgpart

How To Uninstall svgpart on Ubuntu 18.04

To uninstall only the svgpart package we can use the following command:

sudo apt-get remove svgpart

Uninstall svgpart And Its Dependencies

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

sudo apt-get -y autoremove svgpart

Remove svgpart Configurations and Data

To remove svgpart configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge svgpart

Remove svgpart configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge svgpart

References

Summary

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