Installing HDFView on Linux


#1

Hello,

I’ve tried to install HDFView on my Linux Ubuntu 20.04 laptop and I found HDFView on the official repositories:

:~$ sudo apt-cache show hdfview
Package: hdfview
Architecture: amd64
Version: 2.11.0+dfsg-3ubuntu2
Priority: optional
Section: universe/libs
Source: jhdf
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Debian Science Team <debian-science-maintainers@lists.alioth.debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 516
Depends: libjgraph-java, libjhdf5-java, libjhdf4-java, libslf4j-java, java-wrappers,default-jre
Suggests: www-browser
Filename: pool/universe/j/jhdf/hdfview_2.11.0+dfsg-3ubuntu2_amd64.deb
Size: 442848
MD5sum: d4ac897eb747a3b1d7aab9f0a2684537
SHA1: b1a1a77e243a97ef64ac24bd25cdebb3f6fe3821
SHA256: e3a1c07450688c4958840c304d640ffc09262a5899126993ae0e022e5af0bd9c
Homepage: http://www.hdfgroup.org/hdf-java-html/
Description-en: Java HDF Object viewer
HDF is a versatile data model that can represent very complex data objects
and a wide variety of metadata. It is a completely portable file format
with no limit on the number or size of data objects in the collection.
.
This package provides a HDF4/HDF5 viewer.
Description-md5: 4b9ccbb5f76814f27025f1f65e5b4fbf

I’ve installed this package but when trying to start it, I get this error:

:~$ hdfview
/usr/bin/hdfview: 304: exec: /usr/lib/jvm/java-8-oracle/bin/java: not found

I’ve read the installation steps on this website: https://portal.hdfgroup.org/display/HDFVIEW/HDFView#HDFView-install. It seems there is something to do with the environment variables. However, this information is not meaningful enough for my poor IT skills.

It seems that the package version (2.11.0) available on the official repositories is quite old. Then, it is maybe not the best way to install it.

Could you please let me know how should I install HDFView?

Many thanks for your help! :slightly_smiling_face:


#2

HDF just released a new HDFView 3.1.2. Check the hdfgroup.org website.

Allen