Hdf5 building problem

how to know whether hdf5 is installed properly on my system or not?
I am using Ubuntu 16.04 LTS.