How To Install python-xstatic-jquery.tablesorter on Debian 9

In this tutorial we learn how to install python-xstatic-jquery.tablesorter on Debian 9. python-xstatic-jquery.tablesorter is JQuery Tablesorter XStatic support - Python 2.x

Introduction

In this tutorial we learn how to install python-xstatic-jquery.tablesorter on Debian 9.

What is python-xstatic-jquery.tablesorter

python-xstatic-jquery.tablesorter is:

XStatic is a packaging standard to package external (often 3rd party) static files as a Python package, so they are easily usable on all operating systems, with any package management system or even without one.

Many Python projects need to use some specific data files, like javascript, css, java applets, images, etc. Sometimes these files belong to YOUR project (then you may want to package them separately, but you could also just put them into your main package). But in many other cases, those files are maintained by someone else (like jQuery javascript library or even much bigger js libraries or applications) and you definitely do not really want to merge them into your project. So, you want to have static file packages, but you don??t want to get lots of stuff you do not want. Thus, stuff required by XStatic file packages (especially the main, toplevel XStatic package) tries to obey to be a MINIMAL, no-fat thing. XStatic doesn’t “sell” any web framework or other stuff you don’t want. Maybe there will be optional XStatic extensions for all sorts of stuff, but they won’t be required if you just want the files.

By having static files in packages, it is also easier to build virtual envs, support linux/bsd/… distribution package maintainers and even windows installs using the same mechanism.

This package provides JQuery Tablesorter support as a Python 2.x module.

There are three methods to install python-xstatic-jquery.tablesorter on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install python-xstatic-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 python-xstatic-jquery.tablesorter using apt-get by running the following command:

sudo apt-get -y install python-xstatic-jquery.tablesorter

Install python-xstatic-jquery.tablesorter Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-xstatic-jquery.tablesorter

Install python-xstatic-jquery.tablesorter 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install python-xstatic-jquery.tablesorter using aptitude by running the following command:

sudo aptitude -y install python-xstatic-jquery.tablesorter

How To Uninstall python-xstatic-jquery.tablesorter on Debian 9

To uninstall only the python-xstatic-jquery.tablesorter package we can use the following command:

sudo apt-get remove python-xstatic-jquery.tablesorter

Uninstall python-xstatic-jquery.tablesorter And Its Dependencies

To uninstall python-xstatic-jquery.tablesorter and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove python-xstatic-jquery.tablesorter

Remove python-xstatic-jquery.tablesorter Configurations and Data

To remove python-xstatic-jquery.tablesorter configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge python-xstatic-jquery.tablesorter

Remove python-xstatic-jquery.tablesorter configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge python-xstatic-jquery.tablesorter

Dependencies

python-xstatic-jquery.tablesorter have the following dependencies:

References

Summary

In this tutorial we learn how to install python-xstatic-jquery.tablesorter package on Debian 9 using different package management tools: apt, apt-get and aptitude.