How To Install gdl-astrolib on Ubuntu 18.04
Introduction
In this tutorial we learn how to install gdl-astrolib
on Ubuntu 18.04.
What is gdl-astrolib
gdl-astrolib is:
The IDL Astronomy Users Library is a central repository for low-level astronomy software written in the GNU Data Language (GDL). The library is not meant to be an integrated package, but rather is a collection of procedures from which users can pick and choose (and possibly modify) for their own use. Submitted procedures are given a cursory testing, but are basically stored in the library as submitted.
The library was originally written for the commercial IDL interpreter, but large parts are usable with the GDL interpreter as well. Other names for the libraries are “astron” and “idlastro”.
There are three methods to install gdl-astrolib
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 gdl-astrolib Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install gdl-astrolib
using apt-get
by running the following command:
sudo apt-get -y install gdl-astrolib
Install gdl-astrolib Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install gdl-astrolib
using apt
by running the following command:
sudo apt -y install gdl-astrolib
Install gdl-astrolib 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 gdl-astrolib
using aptitude
by running the following command:
sudo aptitude -y install gdl-astrolib
How To Uninstall gdl-astrolib on Ubuntu 18.04
To uninstall only the gdl-astrolib
package we can use the following command:
sudo apt-get remove gdl-astrolib
Uninstall gdl-astrolib And Its Dependencies
To uninstall gdl-astrolib
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove gdl-astrolib
Remove gdl-astrolib Configurations and Data
To remove gdl-astrolib
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge gdl-astrolib
Remove gdl-astrolib configuration, data, and all of its dependencies
We can use the following command to remove gdl-astrolib
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge gdl-astrolib
References
Summary
In this tutorial we learn how to install gdl-astrolib
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.