Need GNU make utilie and some C compiler (GNU c compiler).
May need yacc and lex packages.
``` wget https://support.hdfgroup.org/ftp/HDF/releases/HDFX.n.m/src/hdf-X.m.n.tar tar -xvf hdf-X.m.n.tar cd hdf-X.m.n ./configure –prefix=/opt/hdf4 make make check sudo make install sudo make install-examples #examples in share/hdf4_examples make installcheck ```
In /etc/bash.bashrc, add line export PATH=$PATH:/opt/hdf4/bin