How To Install libattean-perl on Debian 10

Learn how to install libattean-perl on Debian 10 with this tutorial. libattean-perl is semantic web framework

Introduction

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

What is libattean-perl

libattean-perl is:

Attean is a Perl framework for working with RDF data and SPARQL queries. It features parsers and serializers for many different RDF formats including RDF/XML, Turtle, N-Triples and N-Quads, as well as SPARQL formats like SPARQL-XML, SPARQL-JSON, SPARQL-CSV and SPARQL-TSV.

Attean features support for SPARQL 1.1 queries, and a set of APIs and command line tools to parse, transform, query, and serialize RDF data.

SPARQL is an RDF query language, that is, a semantic query language for databases, able to retrieve and manipulate data stored in Resource Description Framework format.

Resource Description Framework (RDF) is a standard model for data interchange on the Web.

Some modules require additional packages:

  • Test::Attean::* require the packages libmoose-perl libtest-roo-perl.
  • Test::Attean::SPARQLSuite instead requires the packages libtest-roo-perl libtest-modern-perl.

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

sudo apt-get -y install libattean-perl

Install libattean-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libattean-perl

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

sudo aptitude -y install libattean-perl

How To Uninstall libattean-perl on Debian 10

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

sudo apt-get remove libattean-perl

Uninstall libattean-perl And Its Dependencies

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

sudo apt-get -y autoremove libattean-perl

Remove libattean-perl Configurations and Data

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

sudo apt-get -y purge libattean-perl

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

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

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

Dependencies

libattean-perl have the following dependencies:

References

Summary

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