Linux binaries

Hi all,

New to hdf and relatively new to linux. I am trying to install the hdf4
library to use pyhdf in the python environment.

I've downloaded the hdf4 binaries but I cant find a .sh or .bin installer
for the binary.

Do I need to build from source?

I don't have much experience with linux binaries (except using .sh) so any
help would be greatly appreciated.

I've downloaded

Hdf-4.2.9-linux-x86_64.tar.gz from
http://www.hdfgroup.org/release4/obtain.html

best regards
casperg

···

--
View this message in context: http://hdf-forum.184993.n3.nabble.com/Linux-binaries-tp4026022.html
Sent from the hdf-forum mailing list archive at Nabble.com.

Hello!

New to hdf and relatively new to linux. I am trying to install the hdf4
library to use pyhdf in the python environment.

I've downloaded the hdf4 binaries but I cant find a .sh or .bin

installer

for the binary.

Do I need to build from source?

If you can use hdf-4.2.9-linux-x86_64.tar.gz, then you do not need to
build from source. (I'm not sure what pyhdf requires.)

The hdf-4.2.9-linux-x86_64.tar.gz file already includes the pre-built HDF
library and include files for Linux 2.6 x86_64 that were built with
gcc/gfortran 4.1.2. It also includes the pre-built JPEG/SZIP/ZLIB external
libraries.

(see below for how to use them)

I don't have much experience with linux binaries (except using .sh) so

any

help would be greatly appreciated.

I've downloaded

Hdf-4.2.9-linux-x86_64.tar.gz from
http://www.hdfgroup.org/release4/obtain.html

All you have to do to use these binaries is:

      Untar/unzip the binaries from the command line:
        gzip -cd hdf-4.2.9-linux-x86_64.tar.gz | tar xvf -

      In the resulting hdf-4.2.9-linux-x86_64/ directory
      you will find:

        lib/ - HDF and external libraries
        include / - HDF include files
        bin/ - HDF utilities and C/F90 compile scripts (h4cc,h4fc)

      If you wanted to use the C/F90 compile scripts, you would need to
      first run:
        bin/h4redeploy

      Then you could compile an application. For example:
       h4cc xxx.c

-Barbara
help@hdfgroup.org