How To Install raptor2-utils on Debian 9

In this tutorial we learn how to install raptor2-utils on Debian 9. raptor2-utils is Raptor 2 RDF parser and serializer utilities

Introduction

In this tutorial we learn how to install raptor2-utils on Debian 9.

What is raptor2-utils

raptor2-utils is:

This package provides the rapper tool for validating, parsing and serializing RDF/XML, N-Triples, Turtle, RSS, Atom and other Resource Description Framework (RDF) syntaxes using the Raptor RDF library.

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

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

sudo apt-get update

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

sudo apt-get -y install raptor2-utils

Install raptor2-utils Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install raptor2-utils

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

sudo aptitude -y install raptor2-utils

How To Uninstall raptor2-utils on Debian 9

To uninstall only the raptor2-utils package we can use the following command:

sudo apt-get remove raptor2-utils

Uninstall raptor2-utils And Its Dependencies

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

sudo apt-get -y autoremove raptor2-utils

Remove raptor2-utils Configurations and Data

To remove raptor2-utils configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge raptor2-utils

Remove raptor2-utils configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge raptor2-utils

Dependencies

raptor2-utils have the following dependencies:

References

Summary

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