Prev Up Next Index
Go backward to By Anonymous FTP
Go up to A Installing the OPeNDAP Software
Go forward to A.2.1 Installing the OPeNDAP Libraries

A.2 Installing the Software

To install the OPeNDAP software, choose a directory to be the OPeNDAP root directory. This directory must be identified with the DODS_ROOT  environment variable for the OPeNDAP software to run.

First, set the working directory to the DODS_ROOT directory.For example,

export DODS_ROOT=/usr/local/DODS
cd $DODS_ROOT
Next, expand the archives with gzip and unpack the expanded files with tar:

gzip -d DODS-88772.tar.gz
tar -xvf DODS-88772.tar

If you got the files via anonymous ftp, you would have to repeat the process for each down-loaded archive file, specifying the name of each component file. For example:

gzip -d DODS-core-2.19.tar.gz
tar -xvf DODS-core-2.19.tar
Building the OPeNDAP Core

Unpacking the core software archive will create a configure script in the DODS_ROOT directory. The core software may then be built with:

cd $DODS_ROOT
./configure
make
If you downloaded binary files, you can skip the "building" steps.
Building an OPeNDAP Client or Server

Unpacking the client library archives in the DODS_ROOT directory will produce directories such as jg-dods for the JGOFS software and nc-dods for the netCDF software. These will appear in the src subdirectory under DODS_ROOT. Each of these directories will also be equipped with a configure script to create a makefile, so the build procedure for them is the same as for the core software, for example:

cd $DODS_ROOT/src/nc-dods
./configure
make
Getting the Software Used by DODS

Several pieces of software are required to run OPeNDAP. These are all free software, and are descibed in Appendix B.


Tom Sgouros, August 25, 2004

Prev Up Next