How To Install libdata-phrasebook-perl on Kali Linux

In this tutorial we learn how to install libdata-phrasebook-perl on Kali Linux. libdata-phrasebook-perl is perl implementation of the phrasebook paradigm

Introduction

In this tutorial we learn how to install libdata-phrasebook-perl on Kali Linux.

What is libdata-phrasebook-perl

libdata-phrasebook-perl is:

The phrasebook pattern is a technique to separate expressions in one language (e.g. SQL) from the main code that is written in another (e.g. Perl). The translations are kept in a separate file - the phrasebook.

Data::Phrasebook enables the framework for abstracting common or locale data out of your code into a datastore. The default is within a plain text file, but more complex datastores can be intrigrated via the use of other Data::Pharsebook::Loader distributions (eg YAML, XML, INI, DBI).

There are three methods to install libdata-phrasebook-perl on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libdata-phrasebook-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 libdata-phrasebook-perl using apt-get by running the following command:

sudo apt-get -y install libdata-phrasebook-perl

Install libdata-phrasebook-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libdata-phrasebook-perl

Install libdata-phrasebook-perl Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libdata-phrasebook-perl using aptitude by running the following command:

sudo aptitude -y install libdata-phrasebook-perl

How To Uninstall libdata-phrasebook-perl on Kali Linux

To uninstall only the libdata-phrasebook-perl package we can use the following command:

sudo apt-get remove libdata-phrasebook-perl

Uninstall libdata-phrasebook-perl And Its Dependencies

To uninstall libdata-phrasebook-perl and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove libdata-phrasebook-perl

Remove libdata-phrasebook-perl Configurations and Data

To remove libdata-phrasebook-perl configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge libdata-phrasebook-perl

Remove libdata-phrasebook-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libdata-phrasebook-perl

Dependencies

libdata-phrasebook-perl have the following dependencies:

References

Summary

In this tutorial we learn how to install libdata-phrasebook-perl package on Kali Linux using different package management tools: apt, apt-get and aptitude.