|||
1.下载需要的文件,详见参考。
2.按参考安装文件,注意部分代码需要根据文件名不同修改。
note:在centos下export只会在当前shell下能使用GMT。
解决办法:
使用root账户打开/etc/profile文件,在文件末加入下面两行
export GMTHOME=/usr/local/GMT4.5.9
export PATH=${GMTHOME}/bin:\$PATH
然后 source /etc/profile
参考:http://seisman.info/install-new-gmt-under-linux.html
2013/9/21 初稿
2013/9/21 增加note中解决办法
2013/9/21 修改由于缺少转义字符造成代码错误
2013/9/22 新建GMT分类并归入此分类
2013/10/3 修改写入/etc/profile文件内容
2013/10/10 修改内容
2013/10/11 更新参考链接
Archiver|手机版|科学网 ( 京ICP备07017567号-12 )
GMT+8, 2024-4-30 20:20
Powered by ScienceNet.cn
Copyright © 2007- 中国科学报社