|||
推荐安装GMT-4.5.13 ,要好用些, GMT5.几版本兼容性不够全 , GMT-4.5.12 安装比较繁琐
参考:http://seisman.info/install-gmt4-under-linux.html
需要下载的包:
sudo yum install gcc gcc-c++ make
sudo yum install libXt-devel libXaw-devel libXmu-devel libSM-devel zlib-devel
sudo yum install netcdf netcdf-devel gdal gdal-devel
cd gmt-4.5.13
./configure --prefix=/home/yu/my/GMT-4.5.13 (--prefix 指定GMT安装目录位置)
make
sudo make install-all
tar -zxvf gshhg-gmt-2.3.4.tar.gz
sudo mkdir /home/yu/my/GMT-4.5.13/share/coast
sudo cp -r gshhg-gmt-2.3.4/* /home/yu/my/GMT-4.5.13/share/coast/
export GMT4HOME=/home/yu/my/GMT-.5.13
export PATH=${GMT4HOME}/bin:$PATH
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${GMT4HOME}/lib
---------------------------------------------------------------------------------------------------------------
Linux下的GMT中文支持
http://seisman.info/gmt-chinese-under-linux.html#id20
Archiver|手机版|科学网 ( 京ICP备07017567号-12 )
GMT+8, 2024-7-28 00:20
Powered by ScienceNet.cn
Copyright © 2007- 中国科学报社