How To Install saods9-tclpackages on Ubuntu 18.04

In this tutorial we learn how to install saods9-tclpackages on Ubuntu 18.04. saods9-tclpackages is Tcl/Tk packages provided with DS9

Introduction

In this tutorial we learn how to install saods9-tclpackages on Ubuntu 18.04.

What is saods9-tclpackages

saods9-tclpackages is:

DS9 includes some extra Tcl/Tk packages that it needs for working. These packages are tclcheckdns and tcliis.

This package is not meant to be used independently of saods9, since the stability of the API and the presence of the individual packages is not quaranteed.

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

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

sudo apt-get update

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

sudo apt-get -y install saods9-tclpackages

Install saods9-tclpackages Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install saods9-tclpackages

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

sudo aptitude -y install saods9-tclpackages

How To Uninstall saods9-tclpackages on Ubuntu 18.04

To uninstall only the saods9-tclpackages package we can use the following command:

sudo apt-get remove saods9-tclpackages

Uninstall saods9-tclpackages And Its Dependencies

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

sudo apt-get -y autoremove saods9-tclpackages

Remove saods9-tclpackages Configurations and Data

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

sudo apt-get -y purge saods9-tclpackages

Remove saods9-tclpackages configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge saods9-tclpackages

References

Summary

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