Install libgmt5 by entering the following commands in the terminal:
sudo apt update sudo apt install libgmt5
Description:
Generic Mapping Tools Library
GMT libraries allow manipulating geographic and Cartesian data sets (including filtering, trend fitting, gridding, projecting, etc.) and producing Encapsulated PostScript File (EPS) illustrations ranging from simple x-y plots via contour maps to artificially illuminated surfaces and 3-D perspective views. . This package contains the GMT library.
Homepage: http://gmt.soest.hawaii.edu/
Version: 5.4.3+dfsg-1
Section: universe/libs