How To Install grass-core on Kali Linux
Introduction
In this tutorial we learn how to install grass-core
on Kali Linux.
What is grass-core
grass-core is:
Commonly referred to as GRASS, this is a Geographic Information System (GIS) used for geospatial data management and analysis, image processing, graphics/map production, spatial modeling, and visualization. GRASS is currently used in academic and commercial settings around the world, as well as by many government agencies and environmental consulting companies.
This package contains the core processing components, but not the GUI.
There are three methods to install grass-core
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 grass-core Using apt-get
Update apt database with apt-get
using the following command.
After updating apt database, We can install grass-core
using apt-get
by running the following command:
Install grass-core Using apt
Update apt database with apt
using the following command.
After updating apt database, We can install grass-core
using apt
by running the following command:
Install grass-core 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.
After updating apt database, We can install grass-core
using aptitude
by running the following command:
How To Uninstall grass-core on Kali Linux
To uninstall only the grass-core
package we can use the following command:
Uninstall grass-core And Its Dependencies
To uninstall grass-core
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
Remove grass-core Configurations and Data
To remove grass-core
configuration and data from Kali Linux we can use the following command:
Remove grass-core configuration, data, and all of its dependencies
We can use the following command to remove grass-core
configurations, data and all of its dependencies, we can use the following command:
Dependencies
grass-core have the following dependencies:
- grass-doc
- python3-distutils
- libblas3
- libbz2-1.0
- libc6
- libcairo2
- libfftw3-double3
- libfontconfig1
- libfreetype6
- libgcc-s1
- libgdal28
- libgeos-c1v5
- libgl1
- libglu1-mesa
- libgomp1
- liblapack3
- libmariadb3
- libnetcdf18
- libodbc1
- libpdal-base12
- libpdal-util12
- libpng16-16
- libpq5
- libproj19
- libreadline8
- libsqlite3-0
- libstdc++6
- libtiff5
- libx11-6
- libzstd1
- zlib1g
References
Summary
In this tutorial we learn how to install grass-core
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.