Installing G2Clib
Procedure
- Use PuTTY to log in to the server as the root user.
- Create an installation directory.
mkdir -p /path/to/g2clib
- Go to the installation directory.
cd /path/to/g2clib
- Obtain the source package.
wget http://www.ncl.ucar.edu/Download/files/g2clib-1.6.0-patch.tar.gz
- Decompress the source package.
tar -zxvf g2clib-1.6.0-patch.tar.gz
- Go to the directory generated after the decompression.
cd g2clib-1.6.0-patch/
- Configure the compilation.
- Perform the compilation and installation.
make all mv libgrib2c.a /usr/local/lib cp grib2.h /usr/local/include
Parent topic: Configuring the Compilation Environment

