tar -xvf hdf5-1.10.1.tar.gz
cd hdf5-1.10.1
FC=/usr/bin/gfortran ./configure --prefix=/path/to/HDF5 --build=aarch64-unknown-linux-gnu --enable-fortran --enable-static=yes --enable-shared
make -j 16 make install
export PATH=/path/to/HDF5/bin:$PATH export LD_LIBRARY_PATH=/path/to/HDF5/lib:$LD_LIBRARY_PATH