直接运行
sudo apt-get install gmt gmt-dcw gmt-gshhg
完成安装!
参见:http://gmt.soest.hawaii.edu/projects/gmt/wiki/Installing
但是Gamit官网说这种方法在 Ubuntu 16.04 下安装不完整,见 http://geoweb.mit.edu/gg/issues.php
"psvelo" is missing and therefore sh_plotvel and other scripts that plot vectors do not produce results as expected.
因此建议下载安装源码或用其他版本的系统。
其它安装方法(未完成,暂备份)
可以直接下载 GMT
http://gmt.soest.hawaii.edu/projects/gmt/wiki/Download
但是官方推荐 subversion
svn checkout svn://gmtserver.soest.hawaii.edu/gmt5/trunk gmt5-dev
如果没有svn,则
sudo apt-get install subversion
需要如下软件,可以获取自http://gmt.soest.hawaii.edu/projects/gmt/wiki/Download
1. gmt-6.x.x.tar.bz2: The GMT 6 distribution
2. gshhg-gmt-2.x.x.tar.gz: All five resolutions of GSHHG coastline data
3. dcw-gmt-1.x.x.tar.bz2: Digital Chart of the World polygon data
尚无评论!