How To Install getdata on Debian 9
Introduction
In this tutorial we learn how to install getdata on Debian 9.
What is getdata
getdata is:
Many scientific communities share the problem of regularly updating external databases. With every update, also various tasks need to be performed for the update of indices that need to be recreated. This work depends on the tools that are available locally and is not always completely simple.
This package provides the getData Perl script, which in some not so complicated manner performs the invocation to wget to download data and then knows how to perform the indexing. There is only a hash table to be filled with the commands to be executed. Maintainers of scientific packages that are strongly coupled to public datasets are invited to add a runtime dependency to this package and add instructions for getData to follow.
There are three methods to install getdata 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 getdata Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install getdata using apt-get by running the following command:
sudo apt-get -y install getdata
Install getdata Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install getdata using apt by running the following command:
sudo apt -y install getdata
Install getdata 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 getdata using aptitude by running the following command:
sudo aptitude -y install getdata
How To Uninstall getdata on Debian 9
To uninstall only the getdata package we can use the following command:
sudo apt-get remove getdata
Uninstall getdata And Its Dependencies
To uninstall getdata and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove getdata
Remove getdata Configurations and Data
To remove getdata configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge getdata
Remove getdata configuration, data, and all of its dependencies
We can use the following command to remove getdata configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge getdata
Dependencies
getdata have the following dependencies:
References
Summary
In this tutorial we learn how to install getdata package on Debian 9 using different package management tools: apt, apt-get and aptitude.