1.å¦ä½å¨ubuntuç³»ç»ä¸å®è£
gmt4.5软件
å¦ä½å¨ubuntuç³»ç»ä¸å®è£ gmt4.5软件
查看fla源码ä¸è½½
查看fla源码å®æ¹ftpï¼ftp://ftp.soest.hawaii.edu/gmt
查看fla源码éè¦ä¸è½½çå å æ¬ï¼
查看fla源码gmt-4.5.-src.tar.bz2
查看fla源码gshhg-gmt-2.3.4.tar.gz
查看fla源码注ï¼GMTä¸çtriangulateå½ä»¤æ两个ä¸åçæºç ï¼å ¶ä¸ä¸ä¸ªéµå¾ªGPLåè®®ï¼å¦ä¸ä¸ªä¸éµå¾ªGPLåè®®ãGMTçsrcå ä¸å å«äºåè ãè¥æç¹æ®éæ±ï¼éè¦ä½¿ç¨åè æºç çåè½ï¼å¯ä»¥ä¸è½½gmt-4.5.-non-gpl-src.tar.bz2ï¼å¹¶å°è§£ååçtriangulateæºç è¦çgmt-4.5.-src.tar.bz2ä¸çç¸åºæºç ã
查看fla源码ä¾èµå ³ç³»
查看fla源码åºç¡ä¾èµå
查看fla源码GMTç¼è¯è¿ç¨éè¦Cç¼è¯å¨ï¼ä»¥åä¸äºåºå±çåºæ件ã
查看fla源码对äºUbuntu/Debian:
查看fla源码sudo apt-get install gcc g++ make
查看fla源码sudo apt-get install libxt-dev libxaw7-dev libxmu-dev libSM-dev
查看fla源码对äºCentOS/RHEL/Fedora:
查看fla源码sudo yum install gcc gcc-c++ make
查看fla源码sudo yum install libXt-devel libXaw-devel libXmu-devel libSM-devel zlib-devel
查看fla源码软件ä¾èµå
查看fla源码GMT4主è¦ä¾èµäºnetCDF4ï¼å¯ä»¥ç´æ¥ä½¿ç¨Linuxåè¡çå®æ¹æºä¸æä¾çnetCDFå ãé¤äºnetcdfä¹å¤ï¼å»ºè®®è¿å®è£ gdalå ãè½ç¶GMTä¸ä¾èµäºgdalï¼ä½gdalå¯ä»¥è½»æ¾å°å°å ¶ä»æ°æ®æ ¼å¼è½¬æ¢ä¸ºGMTå¯è¯å«çæ ¼å¼ã
查看fla源码对äºUbuntu/Debian:
查看fla源码sudo apt-get install libnetcdf-dev libgdal1-dev
查看fla源码对äºRHEL/CentOS/Fedora:
查看fla源码sudo yum install netcdf netcdf-devel gdal gdal-devel
查看fla源码注æï¼
查看fla源码ä¸å®ä¸è¦è¯å¾èªå·±æå¨ç¼è¯netCDFãå¦æå¨é 读æ¬æä¹åæ¾ç»æå¨ç¼è¯è¿ï¼ä¸å®è¦å°åæ¥æå¨ç¼è¯çæçæ件å é¤å¹²åãé常å¯ä»¥ä½¿ç¨locate netcdfï¼æ¾å°/usr/localç®å½ä¸çä¸netCDFç¸å ³çæ件ï¼ç´æ¥å é¤å³å¯ã
查看fla源码CentOSåRHELçå®æ¹æºä¸æ²¡ænetCDFï¼éè¦é¦å æ·»å EPELæºåå®è£ netCDFï¼Fedoraå®æ¹æºä¸èªå¸¦netCDFï¼
查看fla源码å®è£ GMT
查看fla源码ç¼è¯GMTæºç
查看fla源码1
查看fla源码2
查看fla源码3
查看fla源码4
查看fla源码5
查看fla源码$ tar -jxvf gmt-4.5.-src.tar.bz2
查看fla源码$ cd gmt-4.5.
查看fla源码$ ./configure --prefix=/opt/GMT-4.5.
查看fla源码$ make
查看fla源码$ sudo make install-all
查看fla源码å ¶ä¸--prefixæå®äºGMTå®è£ è·¯å¾ï¼ä½ å¯ä»¥æå®ä¸ºå ¶ä»è·¯å¾ï¼ä½è¦æ³¨æåé¢å ¶ä»æ¥éª¤è¦ä¸è¿éçè·¯å¾ç»ä¸ã
查看fla源码å®è£ 海岸线æ°æ®
查看fla源码1
查看fla源码2
查看fla源码3
查看fla源码$ tar -zxvf gshhg-gmt-2.3.4.tar.gz
查看fla源码$ sudo mkdir /opt/GMT-4.5./share/coast
查看fla源码$ sudo cp -r gshhg-gmt-2.3.4/* /opt/GMT-4.5./share/coast/
查看fla源码ä¿®æ¹ç¯å¢åé
查看fla源码å~/.bashrcä¸å å ¥GMT4çç¯å¢åéï¼å¹¶ä½¿ç¯å¢åéçæï¼
查看fla源码1
查看fla源码2
查看fla源码3
查看fla源码4
查看fla源码$ echo 'export GMT4HOME=/opt/GMT-4.5.' >> ~/.bashrc
查看fla源码$ echo 'export PATH=${ GMT4HOME}/bin:$PATH' >> ~/.bashrc
查看fla源码$ echo 'export LD_LIBRARY_PATH=${ LD_LIBRARY_PATH}:${ GMT4HOME}/lib' >> ~/.bashrc
查看fla源码$ exec $SHELL -l
查看fla源码说æï¼
查看fla源码第ä¸ä¸ªå½ä»¤å~/.bashrcä¸æ·»å ç¯å¢åéGMT4HOMEï¼
查看fla源码第äºä¸ªå½ä»¤ä¿®æ¹~/.bashrcï¼å°GMT4çbinç®å½å å ¥å°PATHä¸ï¼
查看fla源码第ä¸ä¸ªå½ä»¤å°GMT4çlibç®å½å å ¥å°å¨æé¾æ¥åºè·¯å¾ä¸ï¼è¥ä¸ºä½ç³»ç»ï¼å为libï¼ä½ç³»ç»å为libï¼
查看fla源码第å个å½ä»¤æ¯éæ°è½½å ¥bashï¼ç¸å½äºsource ~/.bashrcã
查看fla源码