How To Install python-pybloomfiltermmap on Debian 9

In this tutorial we learn how to install python-pybloomfiltermmap on Debian 9. python-pybloomfiltermmap is Bloom filter (bloomfilter) for Python built on mmap

Introduction

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

What is python-pybloomfiltermmap

python-pybloomfiltermmap is:

This module implements a Bloom filter in Python that’s fast and uses mmap files for better scalability.

It main advantages are:

  • It natively uses mmaped files.
  • It natively does the set things you want a Bloom filter to do.
  • It is fast.

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

sudo apt-get -y install python-pybloomfiltermmap

Install python-pybloomfiltermmap Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-pybloomfiltermmap

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

sudo aptitude -y install python-pybloomfiltermmap

How To Uninstall python-pybloomfiltermmap on Debian 9

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

sudo apt-get remove python-pybloomfiltermmap

Uninstall python-pybloomfiltermmap And Its Dependencies

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

sudo apt-get -y autoremove python-pybloomfiltermmap

Remove python-pybloomfiltermmap Configurations and Data

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

sudo apt-get -y purge python-pybloomfiltermmap

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

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

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

Dependencies

python-pybloomfiltermmap have the following dependencies:

References

Summary

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