Compilation and Installation
Procedure
- Use PuTTY to log in to the server as the root user.
- Go to the installation directory and decompress the installation package.
cd /path/to/wgrib2 tar -xvf wgrib2.tgz.v3.1.1 cd wgrib2
- 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
- Perform the compilation and installation.
make make lib
Parent topic: wgrib2 3.1.1 Porting Guide (Kylin V10)