我要评分
获取效率
正确性
完整性
易理解

Compilation and Installation

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Go to the installation directory and decompress the installation package.
    cd /path/to/wgrib2
    tar -xvf wgrib2.tgz.v3.1.1
    cd wgrib2
  1. Modify the source code.
    sed -i "860s/configure/configure --build=aarch64-unknown-linux-gnu/g" makefile
    sed -i "936s/configure/configure --build=aarch64-unknown-linux-gnu/g" makefile
  1. Perform the compilation and installation.
    make
    make lib