How To Install python-xappy on Debian 9

In this tutorial we learn how to install python-xappy on Debian 9. python-xappy is easy-to-use interface to the Xapian search engine

Introduction

In this tutorial we learn how to install python-xappy on Debian 9.

What is python-xappy

python-xappy is:

Xapian provides a low level interface, dealing with terms and documents, but not really worrying about where terms come from, or how to build searches to match the way in which data has been indexed. In contrast, Xappy allows you to design a field structure, specifying what kind of information is held in particular fields, and then uses this field structure to index data appropriately, and to build and perform searches.

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

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

sudo apt-get update

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

sudo apt-get -y install python-xappy

Install python-xappy Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-xappy

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

sudo aptitude -y install python-xappy

How To Uninstall python-xappy on Debian 9

To uninstall only the python-xappy package we can use the following command:

sudo apt-get remove python-xappy

Uninstall python-xappy And Its Dependencies

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

sudo apt-get -y autoremove python-xappy

Remove python-xappy Configurations and Data

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

sudo apt-get -y purge python-xappy

Remove python-xappy configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge python-xappy

Dependencies

python-xappy have the following dependencies:

References

Summary

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