How To Install libpdf-table-perl on Kali Linux
Introduction
In this tutorial we learn how to install libpdf-table-perl on Kali Linux.
What is libpdf-table-perl
libpdf-table-perl is:
PDF::Table is a utility for use with the PDF::API2 module from CPAN. It can be used to display text data in a table layout within the PDF. The text data must be in a 2d array (such as returned by a DBI statement handle fetchall_arrayref() call). The PDF::Table will automatically add as many new pages as necessary to display all of the data. Various layout properties, such as font, font size, and cell padding and background color can be specified for each column and/or for even/odd rows. See the METHODS section in the man page.
There are three methods to install libpdf-table-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 libpdf-table-perl Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install libpdf-table-perl using apt-get by running the following command:
sudo apt-get -y install libpdf-table-perlInstall libpdf-table-perl Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install libpdf-table-perl using apt by running the following command:
sudo apt -y install libpdf-table-perlInstall libpdf-table-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 updateAfter updating apt database, We can install libpdf-table-perl using aptitude by running the following command:
sudo aptitude -y install libpdf-table-perlHow To Uninstall libpdf-table-perl on Kali Linux
To uninstall only the libpdf-table-perl package we can use the following command:
sudo apt-get remove libpdf-table-perlUninstall libpdf-table-perl And Its Dependencies
To uninstall libpdf-table-perl and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libpdf-table-perlRemove libpdf-table-perl Configurations and Data
To remove libpdf-table-perl configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libpdf-table-perlRemove libpdf-table-perl configuration, data, and all of its dependencies
We can use the following command to remove libpdf-table-perl configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libpdf-table-perlDependencies
libpdf-table-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libpdf-table-perl package on Kali Linux using different package management tools: apt, apt-get and aptitude.