terraintool command not found

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

Introduction

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

terraintool: command not found

or when using sudo you get the following error message

sudo: terraintool: command not found

Solutions to terraintool: command not found

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

In Ubuntu terraintool is provided by terraintool package.

terraintool is:

This tool generates terrain meshes for cave survey tools from online terrain altitude datasets. It uses the NASA SRTM and later NASADEM datasets (The latter has the voids removed using ASTER data). The relevant data is downloaded and excerpted, geolocated to the desired co-ordinate system, resampled to a mesh grid, an offset to local grid added if required, the result displayed, and saved in survex (.svx) or therion (.th) format. It is written in java.

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

sudo apt-get -y install terraintool

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

You can also use apt command to install terraintool.

sudo apt -y install terraintool

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

sudo aptitude install terraintool

Summary

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