How To Install gmt-gshhg-low on Debian 11

In this tutorial we learn how to install gmt-gshhg-low on Debian 11. gmt-gshhg-low is Low resolution coastlines for the Generic Mapping Tools

Introduction

In this tutorial we learn how to install gmt-gshhg-low on Debian 11.

What is gmt-gshhg-low

gmt-gshhg-low is:

GSHHG is a high-resolution shoreline data set amalgamated from two databases: Global Self-consistent Hierarchical High-resolution Shorelines (GSHHS) and CIA World Data Bank II (WDBII). GSHHG contains vector descriptions at five different resolutions of land outlines, lakes, rivers, and political boundaries. This data is for use by GMT, the Generic Mapping Tools.

This package contains the crude, low and intermediate resolution coastlines which will be enough to get you started.

Use gmt-gshhg-high or gmt-gshhg-full to create better quality maps at an higher resolution, but be aware that the full maps take space on your disk.

There are three methods to install gmt-gshhg-low on Debian 11. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install gmt-gshhg-low Using apt-get

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

sudo apt-get update

After updating apt database, We can install gmt-gshhg-low using apt-get by running the following command:

sudo apt-get -y install gmt-gshhg-low

Install gmt-gshhg-low Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install gmt-gshhg-low using apt by running the following command:

sudo apt -y install gmt-gshhg-low

Install gmt-gshhg-low 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 gmt-gshhg-low using aptitude by running the following command:

sudo aptitude -y install gmt-gshhg-low

How To Uninstall gmt-gshhg-low on Debian 11

To uninstall only the gmt-gshhg-low package we can use the following command:

sudo apt-get remove gmt-gshhg-low

Uninstall gmt-gshhg-low And Its Dependencies

To uninstall gmt-gshhg-low and its dependencies that are no longer needed by Debian 11, we can use the command below:

sudo apt-get -y autoremove gmt-gshhg-low

Remove gmt-gshhg-low Configurations and Data

To remove gmt-gshhg-low configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge gmt-gshhg-low

Remove gmt-gshhg-low configuration, data, and all of its dependencies

We can use the following command to remove gmt-gshhg-low configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge gmt-gshhg-low

Dependencies

gmt-gshhg-low have the following dependencies:

References

Summary

In this tutorial we learn how to install gmt-gshhg-low package on Debian 11 using different package management tools: apt, apt-get and aptitude.