How To Install libtext-context-eitherside-perl on Kali Linux

In this tutorial we learn how to install libtext-context-eitherside-perl on Kali Linux. libtext-context-eitherside-perl is Perl module to get context around a keyword

Introduction

In this tutorial we learn how to install libtext-context-eitherside-perl on Kali Linux.

What is libtext-context-eitherside-perl

libtext-context-eitherside-perl is:

Text::Context::EitherSide is a Perl module that extracts some context from a large piece of text, such as a web page or mail message. You can search for a keyword and intelligently get some context in which you found the keywords inside the body of the text. It is more rigorous than simply extracting the two words on either side of each keyword, since multiple searches may have overlapping context.

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

sudo apt-get -y install libtext-context-eitherside-perl

Install libtext-context-eitherside-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libtext-context-eitherside-perl using apt by running the following command:

sudo apt -y install libtext-context-eitherside-perl

Install libtext-context-eitherside-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 libtext-context-eitherside-perl using aptitude by running the following command:

sudo aptitude -y install libtext-context-eitherside-perl

How To Uninstall libtext-context-eitherside-perl on Kali Linux

To uninstall only the libtext-context-eitherside-perl package we can use the following command:

sudo apt-get remove libtext-context-eitherside-perl

Uninstall libtext-context-eitherside-perl And Its Dependencies

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

sudo apt-get -y autoremove libtext-context-eitherside-perl

Remove libtext-context-eitherside-perl Configurations and Data

To remove libtext-context-eitherside-perl configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge libtext-context-eitherside-perl

Remove libtext-context-eitherside-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libtext-context-eitherside-perl

Dependencies

libtext-context-eitherside-perl have the following dependencies:

References

Summary

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