How To Install libjs-jquery-stupidtable on Ubuntu 18.04

In this tutorial we learn how to install libjs-jquery-stupidtable on Ubuntu 18.04. libjs-jquery-stupidtable is jQuery table sorting plugin

Introduction

In this tutorial we learn how to install libjs-jquery-stupidtable on Ubuntu 18.04.

What is libjs-jquery-stupidtable

libjs-jquery-stupidtable is:

Most table sorting plugins try to account for a limitless number of data types and their limitless ways of being presented. This leads to an extremely bloated code base with only a tiny portion of the code ever used by your project.

This plugin avoids that issue by letting you define your own ways of sorting table columns. The plugin internally recognizes “int”, “string”, “string-ins” (case-insensitive) and “float”, so simple data tables will take very little effort on your part.

There are three methods to install libjs-jquery-stupidtable on Ubuntu 18.04. 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-stupidtable 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-stupidtable using apt-get by running the following command:

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

Install libjs-jquery-stupidtable Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libjs-jquery-stupidtable

Install libjs-jquery-stupidtable Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install libjs-jquery-stupidtable

How To Uninstall libjs-jquery-stupidtable on Ubuntu 18.04

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

sudo apt-get remove libjs-jquery-stupidtable

Uninstall libjs-jquery-stupidtable And Its Dependencies

To uninstall libjs-jquery-stupidtable and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

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

Remove libjs-jquery-stupidtable Configurations and Data

To remove libjs-jquery-stupidtable configuration and data from Ubuntu 18.04 we can use the following command:

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

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

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

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

References

Summary

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