Compilation and Installation
Procedure
- Use PuTTY to log in to the server as the root user.
- Go to the main program installation directory.
cd /path/to/nco
- Decompress the installation package.
tar xvf 5.1.0.tar.gz
- Go to the directory generated after the decompression.
cd nco-5.1.0
- Load the environment variable.
export PATH=/path/to/gsl/bin:/path/to/netcdf/bin:$PATH
- Perform the compilation and installation.
./configure --prefix=/path/to/nco NETCDF_INC=/path/to/netcdf/include NETCDF_LIB=/path/to/netcdf/lib NETCDF_ROOT=/path/to/netcdf UDUNITS2_PATH=/path/to/udunits make -j make install
Parent topic: NCO 5.1.0 Porting Guide (Kylin V10)