Atmospheric Science Data Center; Link to Home Page.

Downloading and Installing the HDF Libraries

Note: This example session uses a Sun UNIX workstation running SunOS 4.1.4.
Be sure to substitute *your* operating system version for the example system when you download the HDF libraries for your machine.

  1. FTP to THG
    	ftp ftp.hdfgroup.org 
    	(at username prompt) anonymous
    	(at password prompt) user's e-mail address
    	
      You can also use your WWW browser to download the HDF libraries at 
            ftp://ftp.hdfgroup.org/HDF/HDF/HDF_Current/.
    
  2. CHANGE INTO THE CURRENT HDF DIRECTORY
    	ftp> cd HDF/HDF_Current
    
  3. GET FIRST README FILE. RENAME IT TO README.hdf
    	ftp> get README README.hdf
    	
    
  4. CHANGE TO HDF PRECOMPILED CODE SUBDIRECTORY AND LIST MACHINES AVAILABLE
    	ftp> cd bin
    	ftp> ls
        
  5. SELECT YOUR MACHINE AND CHANGE TO THAT DIRECTORY.
           ftp> cd solaris10
           
  6. SWITCH TO BINARY DATA TRANSFER MODE
    	ftp> binary
    	
    
  7. GET THE COMPRESSED TAR FILE FOR YOUR MACHINE.
    	ftp> get 4.1r2_solaris10-64.tar.gz	
    

    NOTE: The utilities files are included in this compressed tar file.

  8. EXIT FTP SESSION
            ftp> bye        
        
  9. ON USER'S MACHINE, UNCOMPRESS FILES AND SET UP SUB-DIRECTORIES

    NCSA uses the gnu gzip compression utility for some packages. If you do not already have this software, which is needed to uncompress the file, you can obtain it from http://www.gzip.org.

    	gunzip 4.1r2_solaris10-64.tar.gz
    	tar -xvf 4.1r2_solaris10-64.tar.gz
    
  10. For more information about compiling programs with the HDF libraries, see the README file in the top level directory of your HDF installation, the file compile.txt in the release notes directory in your HDF installation directory path, or visit http://www.hdfgroup.org/training/HDFtraining/compile/index.html.
You may also view a sample session.

Access Data | ASDC Home Page | Questions/Feedback