How To Install libtk-tablematrix-perl on Kali Linux

In this tutorial we learn how to install libtk-tablematrix-perl on Kali Linux. libtk-tablematrix-perl is Table/matrix widget extension to Perl/Tk

Introduction

In this tutorial we learn how to install libtk-tablematrix-perl on Kali Linux.

What is libtk-tablematrix-perl

libtk-tablematrix-perl is:

This is the CPAN Perl module Tk::TableMatrix.

Tk::TableMatrix is a table/matrix widget extension to Perl/Tk for displaying data in a table (or spreadsheet) format. The basic features of the widget are:

  • multi-line cells
  • support for embedded windows (one per cell)
  • row & column spanning
  • variable width columns / height rows (interactively resizable)
  • row and column titles
  • multiple data sources ((perl hash|| perl callback) &| internal caching)
  • supports standard Tk reliefs, fonts, colors, etc.
  • x/y scrollbar support
  • ’tag’ styles per row, column or cell to change visual appearance
  • in-cell editing - returns value back to data source
  • support for disabled (read-only) tables or cells (via tags)
  • multiple selection modes, with “active” cell
  • multiple drawing modes to get optimal performance for larger tables
  • optional ‘flashes’ when things update
  • cell validation support

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

sudo apt-get -y install libtk-tablematrix-perl

Install libtk-tablematrix-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libtk-tablematrix-perl

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

sudo aptitude -y install libtk-tablematrix-perl

How To Uninstall libtk-tablematrix-perl on Kali Linux

To uninstall only the libtk-tablematrix-perl package we can use the following command:

sudo apt-get remove libtk-tablematrix-perl

Uninstall libtk-tablematrix-perl And Its Dependencies

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

sudo apt-get -y autoremove libtk-tablematrix-perl

Remove libtk-tablematrix-perl Configurations and Data

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

sudo apt-get -y purge libtk-tablematrix-perl

Remove libtk-tablematrix-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libtk-tablematrix-perl

Dependencies

libtk-tablematrix-perl have the following dependencies:

References

Summary

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