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