How To Install libwebservice-solr-perl on Debian 9

In this tutorial we learn how to install libwebservice-solr-perl on Debian 9. libwebservice-solr-perl is Perl interface for the Solr (Lucene) web service

Introduction

In this tutorial we learn how to install libwebservice-solr-perl on Debian 9.

What is libwebservice-solr-perl

libwebservice-solr-perl is:

WebService::Solr provides a convenient way to interact with any Solr instance. Solr is an enterprise search server providing faceted navigation and full-text search using the Lucene Java library. It provides access via official XML/HTTP and JSON programming interfaces.

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

sudo apt-get -y install libwebservice-solr-perl

Install libwebservice-solr-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libwebservice-solr-perl

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

sudo aptitude -y install libwebservice-solr-perl

How To Uninstall libwebservice-solr-perl on Debian 9

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

sudo apt-get remove libwebservice-solr-perl

Uninstall libwebservice-solr-perl And Its Dependencies

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

sudo apt-get -y autoremove libwebservice-solr-perl

Remove libwebservice-solr-perl Configurations and Data

To remove libwebservice-solr-perl configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge libwebservice-solr-perl

Remove libwebservice-solr-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libwebservice-solr-perl

Dependencies

libwebservice-solr-perl have the following dependencies:

References

Summary

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