How To Install libgdal20-2.1.2-grass on Debian 9
Introduction
In this tutorial we learn how to install libgdal20-2.1.2-grass on Debian 9.
What is libgdal20-2.1.2-grass
libgdal20-2.1.2-grass is:
GDAL is a translator library for raster geospatial data formats. As a library, it presents a single abstract data model to the calling application for all supported formats. This extension provides access to GRASS data via GDAL.
This package provides the GDAL GRASS plugin.
There are three methods to install libgdal20-2.1.2-grass on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install libgdal20-2.1.2-grass Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install libgdal20-2.1.2-grass using apt-get by running the following command:
sudo apt-get -y install libgdal20-2.1.2-grass
Install libgdal20-2.1.2-grass Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install libgdal20-2.1.2-grass using apt by running the following command:
sudo apt -y install libgdal20-2.1.2-grass
Install libgdal20-2.1.2-grass Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.
sudo aptitude update
After updating apt database, We can install libgdal20-2.1.2-grass using aptitude by running the following command:
sudo aptitude -y install libgdal20-2.1.2-grass
How To Uninstall libgdal20-2.1.2-grass on Debian 9
To uninstall only the libgdal20-2.1.2-grass package we can use the following command:
sudo apt-get remove libgdal20-2.1.2-grass
Uninstall libgdal20-2.1.2-grass And Its Dependencies
To uninstall libgdal20-2.1.2-grass and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove libgdal20-2.1.2-grass
Remove libgdal20-2.1.2-grass Configurations and Data
To remove libgdal20-2.1.2-grass configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge libgdal20-2.1.2-grass
Remove libgdal20-2.1.2-grass configuration, data, and all of its dependencies
We can use the following command to remove libgdal20-2.1.2-grass configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libgdal20-2.1.2-grass
Dependencies
libgdal20-2.1.2-grass have the following dependencies:
References
Summary
In this tutorial we learn how to install libgdal20-2.1.2-grass package on Debian 9 using different package management tools: apt, apt-get and aptitude.