How To Install saga on Kali Linux
Introduction
In this tutorial we learn how to install saga on Kali Linux.
What is saga
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.
There are three methods to install saga on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install saga Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install saga using apt-get by running the following command:
sudo apt-get -y install sagaInstall saga Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install saga using apt by running the following command:
sudo apt -y install sagaInstall saga Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.
sudo aptitude updateAfter updating apt database, We can install saga using aptitude by running the following command:
sudo aptitude -y install sagaHow To Uninstall saga on Kali Linux
To uninstall only the saga package we can use the following command:
sudo apt-get remove sagaUninstall saga And Its Dependencies
To uninstall saga and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove sagaRemove saga Configurations and Data
To remove saga configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge sagaRemove saga configuration, data, and all of its dependencies
We can use the following command to remove saga configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge sagaDependencies
saga have the following dependencies:
- saga-common
- libc6
- libdxflib3
- libfftw3-double3
- libgcc-s1
- libgdal28
- libgomp1
- libhpdf-2.3.0
- libodbc1
- libpq5
- libproj19
- libqhull8.0
- libsaga-api-7.3.0
- libsaga-gdi-7.3.0
- libstdc++6
- libsvm3
- libvigraimpex11
- libwxbase3.0-0v5
- libwxgtk3.0-gtk3-0v5
References
Summary
In this tutorial we learn how to install saga package on Kali Linux using different package management tools: apt, apt-get and aptitude.