How To Install python-hurry.query on Ubuntu 18.04

In this tutorial we learn how to install python-hurry.query on Ubuntu 18.04. python-hurry.query is Higher level query system for the zope.catalog

Introduction

In this tutorial we learn how to install python-hurry.query on Ubuntu 18.04.

What is python-hurry.query

python-hurry.query is:

The hurry query system for the zope.catalog builds on its catalog indexes, as well as the indexes in zc.catalog.

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

sudo apt-get -y install python-hurry.query

Install python-hurry.query Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-hurry.query

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

sudo aptitude -y install python-hurry.query

How To Uninstall python-hurry.query on Ubuntu 18.04

To uninstall only the python-hurry.query package we can use the following command:

sudo apt-get remove python-hurry.query

Uninstall python-hurry.query And Its Dependencies

To uninstall python-hurry.query and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove python-hurry.query

Remove python-hurry.query Configurations and Data

To remove python-hurry.query configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge python-hurry.query

Remove python-hurry.query configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge python-hurry.query

References

Summary

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