How To Install gis-devel on Debian 9

In this tutorial we learn how to install gis-devel on Debian 9. gis-devel is Geographic Information Systems (GIS) development

Introduction

In this tutorial we learn how to install gis-devel on Debian 9.

What is gis-devel

gis-devel is:

This task sets up your system for GIS development.

There are three methods to install gis-devel 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 gis-devel Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install gis-devel using apt-get by running the following command:

sudo apt-get -y install gis-devel

Install gis-devel Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install gis-devel using apt by running the following command:

sudo apt -y install gis-devel

Install gis-devel 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 gis-devel using aptitude by running the following command:

sudo aptitude -y install gis-devel

How To Uninstall gis-devel on Debian 9

To uninstall only the gis-devel package we can use the following command:

sudo apt-get remove gis-devel

Uninstall gis-devel And Its Dependencies

To uninstall gis-devel and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove gis-devel

Remove gis-devel Configurations and Data

To remove gis-devel configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge gis-devel

Remove gis-devel configuration, data, and all of its dependencies

We can use the following command to remove gis-devel configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge gis-devel

Dependencies

gis-devel have the following dependencies:

References

Summary

In this tutorial we learn how to install gis-devel package on Debian 9 using different package management tools: apt, apt-get and aptitude.