How To Install gmt-gshhg-high on Ubuntu 20.04
Introduction
In this tutorial we learn how to install gmt-gshhg-high on Ubuntu 20.04.
What is gmt-gshhg-high
gmt-gshhg-high 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 high resolution coastlines which are required to create high quality maps with GMT.
There are three methods to install gmt-gshhg-high on Ubuntu 20.04. 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-high 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-high using apt-get by running the following command:
sudo apt-get -y install gmt-gshhg-high
Install gmt-gshhg-high Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install gmt-gshhg-high using apt by running the following command:
sudo apt -y install gmt-gshhg-high
Install gmt-gshhg-high 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 Ubuntu. Update apt database with aptitude using the following command.
sudo aptitude update
After updating apt database, We can install gmt-gshhg-high using aptitude by running the following command:
sudo aptitude -y install gmt-gshhg-high
How To Uninstall gmt-gshhg-high on Ubuntu 20.04
To uninstall only the gmt-gshhg-high package we can use the following command:
sudo apt-get remove gmt-gshhg-high
Uninstall gmt-gshhg-high And Its Dependencies
To uninstall gmt-gshhg-high and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove gmt-gshhg-high
Remove gmt-gshhg-high Configurations and Data
To remove gmt-gshhg-high configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge gmt-gshhg-high
Remove gmt-gshhg-high configuration, data, and all of its dependencies
We can use the following command to remove gmt-gshhg-high configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge gmt-gshhg-high
References
Summary
In this tutorial we learn how to install gmt-gshhg-high package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.