getData command not found

In this troubleshooting guide we learn how to fix getData command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

getData: command not found

or when using sudo you get the following error message

sudo: getData: command not found

Solutions to getData: command not found

How To Fix getData: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu getData is provided by getdata package.

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.

To fix this problem, we can install more using the command below.

sudo apt-get -y install getdata

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install getdata.

sudo apt -y install getdata

Or if you have aptitude installed you can use the following command.

sudo aptitude install getdata

Summary

In this tutorial we learn how to fix getData command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.