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