How To Install astro-gdl on Debian 9

In this tutorial we learn how to install astro-gdl on Debian 9. astro-gdl is IDL/GDL packages for astronomy

Introduction

In this tutorial we learn how to install astro-gdl on Debian 9.

What is astro-gdl

astro-gdl is:

GDL (GNU Data Language) is a free replacement for the commercial software IDL (Interactive Data Language). It has full syntax compatibility with IDL 7.1 and is usable for astronomical data analysis. This metapackage will install astronomy related packages usable with GDL; especially the IDL Astronomy Users Library.

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

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

sudo apt-get update

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

sudo apt-get -y install astro-gdl

Install astro-gdl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install astro-gdl

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

sudo aptitude -y install astro-gdl

How To Uninstall astro-gdl on Debian 9

To uninstall only the astro-gdl package we can use the following command:

sudo apt-get remove astro-gdl

Uninstall astro-gdl And Its Dependencies

To uninstall astro-gdl and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove astro-gdl

Remove astro-gdl Configurations and Data

To remove astro-gdl configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge astro-gdl

Remove astro-gdl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge astro-gdl

Dependencies

astro-gdl have the following dependencies:

References

Summary

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