Installing HDF4
Procedure
- Use PuTTY to log in to the server as the root user.
- Install HDF4 using Yum.
yum install hdf-devel.aarch64 -y
- Create an HDF4 directory.
mkdir -p /path/to/HDF4/bin mkdir -p /path/to/HDF4/lib mkdir -p /path/to/HDF4/include
- Copy the related files to the planned directory.
cp /usr/bin/hdf* /path/to/HDF4/bin cp /usr/lib64/hdf/* /path/to/HDF4/lib cp /usr/include/hdf/* /path/to/HDF4/include
- Set the HDF4 environment.
export HDFPATH=/path/to/HDF4
Parent topic: Configuring the Compilation Environment