20140720(如何安装necdf)

从谷歌上搜索并下载netcdf 。在主文件件夹下解压。解压文件中有一个install的文件,打开里面有安装步骤。3步:
     ./configure
     make check
     make install 如是权限不够,在ubuntu 和linux mint14 中则改成 sudo make install
install 关于安装的部分具体如下:
To install netCDF, uncompress and unpack the tar file, then change to
the distribution directory:

     gunzip netcdf-3.6.2.tar.gz
     tar -xf netcdf-3.6.2.tar
     cd netcdf-3.6.2

   Now run the usual configure, make check, make install cycle:

     ./configure
     make check
     make install

   The configure script will try to find necessary tools in your path.
When you run configure you may optionally use the -prefix argument to
change the default installation directory. For example, the following
will install the library in /usr/local/lib, the header file in
/usr/local/include, and the utilities in /usr/local/bin.

     ./configure --prefix=/usr/local

   The default install root is /usr/local (so there's no need to use the
prefix argument if you want the software installed there).

   By default the netCDF configuration will build static libraries
only. For shared libraries as well, use the -enable-shared option to
configure.

   If all this doesn't work, then you might have to read the next
chapter. Better luck next time!
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值