How To Install liblatex-table-perl on Kali Linux

In this tutorial we learn how to install liblatex-table-perl on Kali Linux. liblatex-table-perl is Perl extension for the automatic generation of LaTeX tables

Introduction

In this tutorial we learn how to install liblatex-table-perl on Kali Linux.

What is liblatex-table-perl

liblatex-table-perl is:

LaTeX::Table is a Perl extension for the automatic generation of LaTeX tables

LaTeX makes professional typesetting easy. Unfortunately, this is not entirely true for tables and the standard LaTeX table macros have a rather limited functionality. LaTeX::Table supports many CTAN packages and hides the complexity of using them behind an easy and intuitive API.

This module supports multipage tables via the xtab and the longtable package. For publication quality tables it utilizes the booktabs package. It also supports the tabularx and tabulary packages for nicer fixed-width tables. Furthermore, it supports the colortbl package for colored tables optimized for presentations. The powerful new ctable package is supported and especially recommended when footnotes are needed. LaTeX::Table ships with some predefined, good looking themes.

This module ships with two small utilities. The first, csv2pdf is a CSV to PDF converter. It is only about 100 lines of code short and only meant as an example application, but it is already very powerful. It requires Getopt::Long, Text::CSV, LaTeX::Encode and LaTeX::Driver.

The second utility is ltpretty. It takes a lazy formatted LaTeX table from STDIN (typically piped from Vim or emacs) and outputs a completely formatted table. This makes this module not only useful for automatically generated reports, but also saves a lot of typing work in creating custom tables.

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

sudo apt-get -y install liblatex-table-perl

Install liblatex-table-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install liblatex-table-perl

Install liblatex-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 update

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

sudo aptitude -y install liblatex-table-perl

How To Uninstall liblatex-table-perl on Kali Linux

To uninstall only the liblatex-table-perl package we can use the following command:

sudo apt-get remove liblatex-table-perl

Uninstall liblatex-table-perl And Its Dependencies

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

sudo apt-get -y autoremove liblatex-table-perl

Remove liblatex-table-perl Configurations and Data

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

sudo apt-get -y purge liblatex-table-perl

Remove liblatex-table-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge liblatex-table-perl

Dependencies

liblatex-table-perl have the following dependencies:

References

Summary

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