![]() |
Once you have the files downloaded
they must be uncompressed with the gzip program, and un-tarred
with the tar program. The following command executes both at the
same time:
gzip -d -c GUI-stuff.tar.gz | tar -xvf -
or, if you use GNU tar:
tar -xvzf GUI-stuff.tar.gz
Move to the directory where you wish to store the OPeNDAP Matlab GUI,
repeat this for each tar file you need to install.
If you are installing this software from a binary distribution, you may move on to the next section, Section A.3.
After the tar files have been unpacked, set the $DODS_ROOT
environment variable. The way to do this will differ depending on the
shell you use8. For csh and tcsh, use:
setenv DODS_ROOT /usr/local/OPD-2.8
(Make sure to use the correct version number.) For ksh and bash, use:
export DODS_ROOT=/usr/local/OPD-2.8
After you have set the environment variable (this might be a good time
to add the variable definition to your .login, .cshrc or
.profile initialization file), finish the configuration with the
following shell commands:
cd $DODS_ROOT ./configure make make installIf you already have some OPeNDAP software installed on your system, and are simply adding the Matlab functions, you need not execute
configure and make in the $DODS_ROOT directory, but
can change your directory to the $DODS_ROOT/src/matlab-GUI
directory, and run configure and make install there.