How To Install librdf-ns-curated-perl on Ubuntu 18.04

In this tutorial we learn how to install librdf-ns-curated-perl on Ubuntu 18.04. librdf-ns-curated-perl is curated set of RDF prefixes

Introduction

In this tutorial we learn how to install librdf-ns-curated-perl on Ubuntu 18.04.

What is librdf-ns-curated-perl

librdf-ns-curated-perl is:

RDF::NS::Curated contains a limited list of prefix and URI pairs that are commonly used in RDF. The intention is that prefixes in this list can be safely used in code that has a long lifetime. The list has been derived mostly from W3C standards documents, but also some popularity lists.

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

There are three methods to install librdf-ns-curated-perl on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install librdf-ns-curated-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 librdf-ns-curated-perl using apt-get by running the following command:

sudo apt-get -y install librdf-ns-curated-perl

Install librdf-ns-curated-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install librdf-ns-curated-perl

Install librdf-ns-curated-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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install librdf-ns-curated-perl using aptitude by running the following command:

sudo aptitude -y install librdf-ns-curated-perl

How To Uninstall librdf-ns-curated-perl on Ubuntu 18.04

To uninstall only the librdf-ns-curated-perl package we can use the following command:

sudo apt-get remove librdf-ns-curated-perl

Uninstall librdf-ns-curated-perl And Its Dependencies

To uninstall librdf-ns-curated-perl and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove librdf-ns-curated-perl

Remove librdf-ns-curated-perl Configurations and Data

To remove librdf-ns-curated-perl configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge librdf-ns-curated-perl

Remove librdf-ns-curated-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge librdf-ns-curated-perl

References

Summary

In this tutorial we learn how to install librdf-ns-curated-perl package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.