How To Install stardata-common on Ubuntu 20.04
Introduction
In this tutorial we learn how to install stardata-common
on Ubuntu 20.04.
What is stardata-common
stardata-common is:
This package allows the installation and removal of astronomy catalogues, converting those catalogues to astronomy programs’ data formats.
All stardata catalogues conforming to stardata-common policy are converted automatically at installation time to the formats of astronomy programs that support stardata-common.
The register-stardata program is transparent for the user; this program is called automatically when any astronomy package conforming to the stardata-common policy is installed, upgraded or removed.
There are three methods to install stardata-common
on Ubuntu 20.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 stardata-common Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install stardata-common
using apt-get
by running the following command:
sudo apt-get -y install stardata-common
Install stardata-common Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install stardata-common
using apt
by running the following command:
sudo apt -y install stardata-common
Install stardata-common 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 stardata-common
using aptitude
by running the following command:
sudo aptitude -y install stardata-common
How To Uninstall stardata-common on Ubuntu 20.04
To uninstall only the stardata-common
package we can use the following command:
sudo apt-get remove stardata-common
Uninstall stardata-common And Its Dependencies
To uninstall stardata-common
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove stardata-common
Remove stardata-common Configurations and Data
To remove stardata-common
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge stardata-common
Remove stardata-common configuration, data, and all of its dependencies
We can use the following command to remove stardata-common
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge stardata-common
References
Summary
In this tutorial we learn how to install stardata-common
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.