Gravity command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
Gravity: command not found
or when using sudo you get the following error message
sudo: Gravity: command not found
Solutions to Gravity: command not found
How To Fix Gravity: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu Gravity is provided by geographiclib-tools package.
geographiclib-tools is:
GeographicLib is a small set of C++ classes for converting between geographic, UTM, UPS, MGRS, geocentric, and local cartesian coordinates, for geoid calculations, and for computing geodesic. It is a suitable replacement for the core functionality provided by NGA Geotrans.
This package contains some core tools based on the GeographicLib library.
To fix this problem, we can install more using the command below.
sudo apt-get -y install geographiclib-tools
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install geographiclib-tools.
sudo apt -y install geographiclib-tools
Or if you have aptitude installed you can use the following command.
sudo aptitude install geographiclib-tools
Summary
In this tutorial we learn how to fix Gravity command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.