How To Install libhtml-tableextract-perl on Kali Linux

In this tutorial we learn how to install libhtml-tableextract-perl on Kali Linux. libhtml-tableextract-perl is module for extracting the content contained in HTML tables

Introduction

In this tutorial we learn how to install libhtml-tableextract-perl on Kali Linux.

What is libhtml-tableextract-perl

libhtml-tableextract-perl is:

HTML::TableExtract is a module that simplifies the extraction of information contained in tables within HTML documents, either as text or encoded element trees.

For extracting a tree structure of element objects, the additional package libhtml-element-extended-perl might be needed.

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

sudo apt-get -y install libhtml-tableextract-perl

Install libhtml-tableextract-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libhtml-tableextract-perl

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

sudo aptitude -y install libhtml-tableextract-perl

How To Uninstall libhtml-tableextract-perl on Kali Linux

To uninstall only the libhtml-tableextract-perl package we can use the following command:

sudo apt-get remove libhtml-tableextract-perl

Uninstall libhtml-tableextract-perl And Its Dependencies

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

sudo apt-get -y autoremove libhtml-tableextract-perl

Remove libhtml-tableextract-perl Configurations and Data

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

sudo apt-get -y purge libhtml-tableextract-perl

Remove libhtml-tableextract-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libhtml-tableextract-perl

Dependencies

libhtml-tableextract-perl have the following dependencies:

References

Summary

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