How To Install libtie-cphash-perl on Debian 9

In this tutorial we learn how to install libtie-cphash-perl on Debian 9. libtie-cphash-perl is module for managing a case preserving but case insensitive hash table

Introduction

In this tutorial we learn how to install libtie-cphash-perl on Debian 9.

What is libtie-cphash-perl

libtie-cphash-perl is:

Tie::CPHash provides a hash table that is case preserving but case insensitive. This means that

$cphash{KEY} $cphash{key} $cphash{Key} $cphash{keY}

all refer to the same entry. Also, the hash remembers which form of the key was last used to store the entry. The keys and each functions will return the key that was used to set the value.

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

sudo apt-get -y install libtie-cphash-perl

Install libtie-cphash-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libtie-cphash-perl

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

sudo aptitude -y install libtie-cphash-perl

How To Uninstall libtie-cphash-perl on Debian 9

To uninstall only the libtie-cphash-perl package we can use the following command:

sudo apt-get remove libtie-cphash-perl

Uninstall libtie-cphash-perl And Its Dependencies

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

sudo apt-get -y autoremove libtie-cphash-perl

Remove libtie-cphash-perl Configurations and Data

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

sudo apt-get -y purge libtie-cphash-perl

Remove libtie-cphash-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libtie-cphash-perl

Dependencies

libtie-cphash-perl have the following dependencies:

References

Summary

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