How To Install science-astronomy on Ubuntu 18.04
Introduction
In this tutorial we learn how to install science-astronomy on Ubuntu 18.04.
What is science-astronomy
science-astronomy is:
Debian-Astro is now a separate Debian Pure Blend and allows a fine-grained control on the topics to install. To ease the transition, this package will install all user related tasks from Debian-Astro.
There are three methods to install science-astronomy 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 science-astronomy Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install science-astronomy using apt-get by running the following command:
sudo apt-get -y install science-astronomy
Install science-astronomy Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install science-astronomy using apt by running the following command:
sudo apt -y install science-astronomy
Install science-astronomy 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 science-astronomy using aptitude by running the following command:
sudo aptitude -y install science-astronomy
How To Uninstall science-astronomy on Ubuntu 18.04
To uninstall only the science-astronomy package we can use the following command:
sudo apt-get remove science-astronomy
Uninstall science-astronomy And Its Dependencies
To uninstall science-astronomy and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove science-astronomy
Remove science-astronomy Configurations and Data
To remove science-astronomy configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge science-astronomy
Remove science-astronomy configuration, data, and all of its dependencies
We can use the following command to remove science-astronomy configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge science-astronomy
References
Summary
In this tutorial we learn how to install science-astronomy package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.