Differences
This shows you the differences between two versions of the page.
installation_linux_hdf5 [2018/02/23 13:29] y.audouin |
installation_linux_hdf5 [2024/02/08 08:25] (current) b.basic |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Installation of hdf5 on Linux ====== | + | ====== Installing of HDF5 on Linux ====== |
- | You can download the sources from [[https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.8/hdf5-1.8.14/src/hdf5-1.8.14.tar.gz|here]] | ||
\\ | \\ | ||
- | Decompress it.\\ | + | If you have <color darkorange>sudo</color> rights, you can install HDF5 using your OS package manager, such as <color darkorange>apt</color> in the case of Debian-like distros: |
- | Then run the following commands: | + | \\ |
+ | <code> | ||
+ | sudo apt install libhdf5-dev hdf5-tools | ||
+ | </code> | ||
+ | \\ | ||
+ | Otherwise you need to build HDF5 from its sources, which you can download from [[https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/hdf5-1.10.6/src/hdf5-1.10.6.tar.gz|here]] | ||
+ | \\ | ||
+ | Decompress them, then run the following commands: | ||
<box round> | <box round> | ||
./configure\\ | ./configure\\ | ||
Line 21: | Line 27: | ||
<nowiki> ./configure --prefix=<install-path></nowiki> | <nowiki> ./configure --prefix=<install-path></nowiki> | ||
</box> | </box> | ||
- | Where <install-path> is where you want to install it. | + | Where <install-path> is the absolute path to the directory where you want to install HDF5. |