How To Install perlrdf on Debian 9

In this tutorial we learn how to install perlrdf on Debian 9. perlrdf is RDF command line utils

Introduction

In this tutorial we learn how to install perlrdf on Debian 9.

What is perlrdf

perlrdf is:

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

perlrdf is a single front-end to various RDF functionality available for Perl. It includes commands to create and manipulate quad stores (i.e. databases for RDF data); and commands to parse, serialise, convert and validate RDF data in various formats.

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

Install perlrdf Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install perlrdf

Install perlrdf Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install perlrdf

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

sudo aptitude -y install perlrdf

How To Uninstall perlrdf on Debian 9

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

sudo apt-get remove perlrdf

Uninstall perlrdf And Its Dependencies

To uninstall perlrdf and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove perlrdf

Remove perlrdf Configurations and Data

To remove perlrdf configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge perlrdf

Remove perlrdf configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge perlrdf

Dependencies

perlrdf have the following dependencies:

References

Summary

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