zhoufcumt的个人博客分享 http://blog.sciencenet.cn/u/zhoufcumt

博文

最新版GMT4.5.7在线安装(ubuntu11.04下)

已有 4173 次阅读 2011-9-18 14:44 |个人分类:Ubuntu|系统分类:科研笔记| 在线安装

将install_gmt.sh脚本和在线安装参数文件GMT4param.txt复制进/usr/local目录下,终端进入该目录 cd /usr/local, 给脚本赋予可执行 chmod +x install_gmt.sh,联网运行./install_gmt.sh GMT4param.txt等待在线安装即可。

GMT4param.txt参数文件内容如下:

# This file contains parameters needed by the install script
# install_gmt for GMT Version 4.5.7.  Give this file
# as the argument to the install_gmt script and the whole
# installation process can be placed in the background.
# Default answers will be selected where none is given.
# You can edit the values, but do not remove definitions!
#
# Assembled by gmt_install_form.html, $Revision: 1.99 $
# Processed by install_gmt_form.pl : 1.55  on
#
#    Fri Sep  2 01:23:28 HST 2011
#
# Do NOT add any spaces around the = signs.  The
# file MUST conform to Bourne shell syntax
#---------------------------------------------
#    GMT VERSION
#---------------------------------------------
GMT_version=4.5.7
#---------------------------------------------
#    SYSTEM UTILITIES
#---------------------------------------------
GMT_make=make
#---------------------------------------------
#    NETCDF SECTION
#---------------------------------------------
netcdf_ftp=y
netcdf_install=y
netcdf_path=
passive_ftp=y
#---------------------------------------------
#    GDAL SECTION
#---------------------------------------------
use_gdal=n
gdal_path=
#---------------------------------------------
#    GMT FTP SECTION
#---------------------------------------------
GMT_ftp=y
GSHHS_ftp=y
GMT_ftpsite=7
GMT_inst_gmt=y
GMT_inst_gshhs=y
#---------------------------------------------
#    GMT SUPPLEMENTS SELECT SECTION
#---------------------------------------------
GMT_suppl_mex=n
GMT_mex_type=octave
GMT_suppl_xgrid=n
#---------------------------------------------
#    GMT ENVIRONMENT SECTION
#---------------------------------------------
GMT_si=y
GMT_ps=y
GMT_prefix=
GMT_bin=
GMT_lib=
GMT_share=
GMT_include=
GMT_man=
GMT_doc=
GMT_sharedir=
#---------------------------------------------
#    COMPILING & LINKING SECTION
#---------------------------------------------
GMT_sharedlib=n
GMT_cc=gcc
GMT_64=
GMT_UNIV=n
GMT_flock=n
GMT_triangle=n
#---------------------------------------------
#    TEST & print FILE SECTION
#---------------------------------------------
GMT_run_examples=y
GMT_delete=n
#---------------------------------------------
#    MEX SECTION
#---------------------------------------------



https://wap.sciencenet.cn/blog-350278-487706.html

上一篇:最新版GMT4.5.7在Windows XP下的安装
下一篇:ubuntu GMT4.5.7配置文件.gmtdefaults4(本人用的)
收藏 IP: 211.70.217.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...
扫一扫,分享此博文

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-5-15 20:14

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部