通过yum安装
# yum install octave
运行octave,报错提示
$ octave octave: error while loading shared libraries: libhdf5.so.6: cannot open shared object file: No such file or directory
安装hdf5
# yum install hdf5
仍然报错,在/usr/lib64目录下做软链接
# cd /usr/lib64/ # ln -s libhdf5.so.7 libhdf5.so.6
搞定!