How To Install libapp-perlrdf-command-query-perl on Ubuntu 18.04

In this tutorial we learn how to install libapp-perlrdf-command-query-perl on Ubuntu 18.04. libapp-perlrdf-command-query-perl is SPARQL extension for App-perlrdf

Introduction

In this tutorial we learn how to install libapp-perlrdf-command-query-perl on Ubuntu 18.04.

What is libapp-perlrdf-command-query-perl

libapp-perlrdf-command-query-perl is:

App::perlrdf::Command::Query adds query abilities to the “perlrdf” command-line client.

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

sudo apt-get -y install libapp-perlrdf-command-query-perl

Install libapp-perlrdf-command-query-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libapp-perlrdf-command-query-perl

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

sudo aptitude -y install libapp-perlrdf-command-query-perl

How To Uninstall libapp-perlrdf-command-query-perl on Ubuntu 18.04

To uninstall only the libapp-perlrdf-command-query-perl package we can use the following command:

sudo apt-get remove libapp-perlrdf-command-query-perl

Uninstall libapp-perlrdf-command-query-perl And Its Dependencies

To uninstall libapp-perlrdf-command-query-perl and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libapp-perlrdf-command-query-perl

Remove libapp-perlrdf-command-query-perl Configurations and Data

To remove libapp-perlrdf-command-query-perl configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libapp-perlrdf-command-query-perl

Remove libapp-perlrdf-command-query-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libapp-perlrdf-command-query-perl

References

Summary

In this tutorial we learn how to install libapp-perlrdf-command-query-perl package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.