saga_cmd command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
saga_cmd: command not found
or when using sudo you get the following error message
sudo: saga_cmd: command not found
Solutions to saga_cmd: command not found
How To Fix saga_cmd: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu saga_cmd is provided by saga package.
saga is:
SAGA GIS (System for Automated Geoscientific Analyses) is a free and open source geographic information system used for editing and analysing spatial data. It includes a large number of modules for the analysis of vector (point, line and polygon), table, grid and image data. Among others the package includes modules for geostatistics, image classification, projections, simulation of dynamic processes (hydrology, landscape development) and terrain analysis. The functionality can be accessed through a GUI, the command line or by using the C++ API.
To fix this problem, we can install more using the command below.
sudo apt-get -y install saga
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install saga.
sudo apt -y install saga
Or if you have aptitude installed you can use the following command.
sudo aptitude install saga
Summary
In this tutorial we learn how to fix saga_cmd command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.