How To Install libbloom-filter-perl on Ubuntu 18.04

In this tutorial we learn how to install libbloom-filter-perl on Ubuntu 18.04. libbloom-filter-perl is Bloom filter implemented in Perl

Introduction

In this tutorial we learn how to install libbloom-filter-perl on Ubuntu 18.04.

What is libbloom-filter-perl

libbloom-filter-perl is:

A Bloom filter is a probabilistic algorithm for doing existence tests in less memory than a full list of keys would require. The tradeoff to using Bloom filters is a certain configurable risk of false positives.

Bloom::Filter is a Perl library implementing a simple Bloom filter with configurable capacity and false positive rate.

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

sudo apt-get -y install libbloom-filter-perl

Install libbloom-filter-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libbloom-filter-perl

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

sudo aptitude -y install libbloom-filter-perl

How To Uninstall libbloom-filter-perl on Ubuntu 18.04

To uninstall only the libbloom-filter-perl package we can use the following command:

sudo apt-get remove libbloom-filter-perl

Uninstall libbloom-filter-perl And Its Dependencies

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

sudo apt-get -y autoremove libbloom-filter-perl

Remove libbloom-filter-perl Configurations and Data

To remove libbloom-filter-perl configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libbloom-filter-perl

Remove libbloom-filter-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libbloom-filter-perl

References

Summary

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