How To Install libart-2.0-2 on Debian 10

Learn how to install libart-2.0-2 on Debian 10 with this tutorial. libart-2.0-2 is Library of functions for 2D graphics - runtime files

Introduction

In this tutorial we learn how to install libart-2.0-2 on Debian 10.

What is libart-2.0-2

libart-2.0-2 is:

A library of functions for 2D graphics supporting a superset of the PostScript imaging model, designed to be integrated with graphics, artwork, and illustration programs. It is written in optimized C, and is fully compatible with C++. With a small footprint of 10,000 lines of code, it is especially suitable for embedded applications.

This package is for legacy applications and no longer used by GNOME.

There are three methods to install libart-2.0-2 on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libart-2.0-2 Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libart-2.0-2

Install libart-2.0-2 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libart-2.0-2 using apt by running the following command:

sudo apt -y install libart-2.0-2

Install libart-2.0-2 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libart-2.0-2 using aptitude by running the following command:

sudo aptitude -y install libart-2.0-2

How To Uninstall libart-2.0-2 on Debian 10

To uninstall only the libart-2.0-2 package we can use the following command:

sudo apt-get remove libart-2.0-2

Uninstall libart-2.0-2 And Its Dependencies

To uninstall libart-2.0-2 and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove libart-2.0-2

Remove libart-2.0-2 Configurations and Data

To remove libart-2.0-2 configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge libart-2.0-2

Remove libart-2.0-2 configuration, data, and all of its dependencies

We can use the following command to remove libart-2.0-2 configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libart-2.0-2

Dependencies

libart-2.0-2 have the following dependencies:

References

Summary

In this tutorial we learn how to install libart-2.0-2 package on Debian 10 using different package management tools: apt, apt-get and aptitude.