How To Install jsamp on Debian 10

Learn how to install jsamp on Debian 10 with this tutorial. jsamp is Java Simple Application Messaging Protocol tool for VO

Introduction

In this tutorial we learn how to install jsamp on Debian 10.

What is jsamp

jsamp is:

Command-line tool for the Simple Application Messaging Protocol (SAMP) for the Virtual Observatory (VO). This allows direct access to low-level operations such as starting a local SAMP communications hub for other applications such as Aladin, Topcat and Splat-VO to communication with each other.

In addition to starting a SAMP Hub, the ‘jsamp’ tool allows for monitoring, snooping, testing, and stress running hub instances, or setting up a bridge proxy between two or SAMP hub instances.

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

Install jsamp Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install jsamp

Install jsamp Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install jsamp using apt by running the following command:

sudo apt -y install jsamp

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

sudo aptitude -y install jsamp

How To Uninstall jsamp on Debian 10

To uninstall only the jsamp package we can use the following command:

sudo apt-get remove jsamp

Uninstall jsamp And Its Dependencies

To uninstall jsamp and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove jsamp

Remove jsamp Configurations and Data

To remove jsamp configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge jsamp

Remove jsamp configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge jsamp

Dependencies

jsamp have the following dependencies:

References

Summary

In this tutorial we learn how to install jsamp package on Debian 10 using different package management tools: apt, apt-get and aptitude.