How To Install libtangram-perl on Debian 10

Learn how to install libtangram-perl on Debian 10 with this tutorial. libtangram-perl is Orthogonal Object Persistence in Relational Databases

Introduction

In this tutorial we learn how to install libtangram-perl on Debian 10.

What is libtangram-perl

libtangram-perl is:

Tangram is an object-relational mapper. It makes objects persist in relational databases, and provides powerful facilities for retrieving and filtering them. Tangram fully supports object-oriented programming, including polymorphism, multiple inheritance and collections. It does so in an orthogonal fashion, that is, it doesn’t require your classes to implement support functions nor inherit from a utility class.

Tangram builds upon DBI, so you’ll need to install DBI and at least one DBD driver if that is not done already. You will also need Set::Object. These modules are available from CPAN.

If you intend to run the regression tests (recommended), you will also need to prepare an empty database before starting the installation procedure.

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

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

sudo apt-get update

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

sudo apt-get -y install libtangram-perl

Install libtangram-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libtangram-perl

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

sudo aptitude -y install libtangram-perl

How To Uninstall libtangram-perl on Debian 10

To uninstall only the libtangram-perl package we can use the following command:

sudo apt-get remove libtangram-perl

Uninstall libtangram-perl And Its Dependencies

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

sudo apt-get -y autoremove libtangram-perl

Remove libtangram-perl Configurations and Data

To remove libtangram-perl configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge libtangram-perl

Remove libtangram-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libtangram-perl

Dependencies

libtangram-perl have the following dependencies:

References

Summary

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