How To Install jython-stilts on Ubuntu 18.04

In this tutorial we learn how to install jython-stilts on Ubuntu 18.04. jython-stilts is Starlink Tables Infrastructure Library Tool Set (Jython package)

Introduction

In this tutorial we learn how to install jython-stilts on Ubuntu 18.04.

What is jython-stilts

jython-stilts is:

The STIL Tool Set is a set of command-line tools based on STIL, the Starlink Tables Infrastructure Library. It deals with the processing of tabular data; the package has been designed for, but is not restricted to, astronomical tables such as object catalogues. Some of the tools are generic and can work with multiple formats (including FITS, VOTable, CDF, CSV, SQL and ASCII), and others are specific to the VOTable format. In some ways, STILTS forms the command-line counterpart of the GUI table analysis tool TOPCAT. The package is robust, fully documented, and designed for efficiency, especially with very large datasets.

This package contains the Jython package.

There are three methods to install jython-stilts 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 jython-stilts Using apt-get

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

sudo apt-get update

After updating apt database, We can install jython-stilts using apt-get by running the following command:

sudo apt-get -y install jython-stilts

Install jython-stilts Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install jython-stilts using apt by running the following command:

sudo apt -y install jython-stilts

Install jython-stilts 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 jython-stilts using aptitude by running the following command:

sudo aptitude -y install jython-stilts

How To Uninstall jython-stilts on Ubuntu 18.04

To uninstall only the jython-stilts package we can use the following command:

sudo apt-get remove jython-stilts

Uninstall jython-stilts And Its Dependencies

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

sudo apt-get -y autoremove jython-stilts

Remove jython-stilts Configurations and Data

To remove jython-stilts configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge jython-stilts

Remove jython-stilts configuration, data, and all of its dependencies

We can use the following command to remove jython-stilts configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge jython-stilts

References

Summary

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