Rate This Document
Findability
Accuracy
Completeness
Readability

Compilation and Installation

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Go to the main program installation directory.
    cd /path/to/nco
  3. Decompress the installation package.
    tar xvf 5.1.0.tar.gz
  4. Go to the directory generated after the decompression.
    cd nco-5.1.0
  5. Load the environment variable.
    export PATH=/path/to/gsl/bin:/path/to/netcdf/bin:$PATH
  6. 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