How To Install libjs-jquery-tablesorter on Kali Linux

In this tutorial we learn how to install libjs-jquery-tablesorter on Kali Linux. libjs-jquery-tablesorter is jQuery flexible client-side table sorting plugin

Introduction

In this tutorial we learn how to install libjs-jquery-tablesorter on Kali Linux.

What is libjs-jquery-tablesorter

libjs-jquery-tablesorter is:

Tablesorter is a jQuery plugin for turning a standard HTML table with THEAD and TBODY tags into a sortable table without page refreshes. Tablesorter can successfully parse and sort many types of data including linked data in a cell. It has many useful features including:

  • Multi-column alphanumeric sorting and filtering.
  • Multi-tbody sorting
  • Supports Bootstrap v2-4.
  • Parsers for sorting text, alphanumeric text, URIs, integers, currency, floats, IP addresses, dates (ISO, long and short formats) and time. Add your own easily.
  • Inline editing
  • Support for ROWSPAN and COLSPAN on TH elements.
  • Support secondary “hidden” sorting (e.g., maintain alphabetical sort when sorting on other criteria).
  • Extensibility via widget system.
  • Cross-browser: IE 6.0+, FF 2+, Safari 2.0+, Opera 9.0+, Chrome 5.0+.

There are three methods to install libjs-jquery-tablesorter 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 libjs-jquery-tablesorter Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libjs-jquery-tablesorter using apt-get by running the following command:

sudo apt-get -y install libjs-jquery-tablesorter

Install libjs-jquery-tablesorter Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libjs-jquery-tablesorter using apt by running the following command:

sudo apt -y install libjs-jquery-tablesorter

Install libjs-jquery-tablesorter 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 libjs-jquery-tablesorter using aptitude by running the following command:

sudo aptitude -y install libjs-jquery-tablesorter

How To Uninstall libjs-jquery-tablesorter on Kali Linux

To uninstall only the libjs-jquery-tablesorter package we can use the following command:

sudo apt-get remove libjs-jquery-tablesorter

Uninstall libjs-jquery-tablesorter And Its Dependencies

To uninstall libjs-jquery-tablesorter and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove libjs-jquery-tablesorter

Remove libjs-jquery-tablesorter Configurations and Data

To remove libjs-jquery-tablesorter configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge libjs-jquery-tablesorter

Remove libjs-jquery-tablesorter configuration, data, and all of its dependencies

We can use the following command to remove libjs-jquery-tablesorter configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libjs-jquery-tablesorter

Dependencies

libjs-jquery-tablesorter have the following dependencies:

References

Summary

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