A.1. - Installing the software
The C-PLOT distribution is generally supplied on magnetic media in tar format. The amount of disk space required for installation varies from computer to computer, but is usually 1.5 to 2.5 megabytes. The directory hierarchy on the tar media has the same structure as the final installation, so you need only choose the place in your file system hierarchy to locate the C-PLOT files. C-PLOT expects to find its auxiliary files either in the directory /usr/cplot or in the directory /usr/local/cplot. You can locate the C-PLOT files somewhere else, however, and make /usr/cplot (or /usr/local/cplot) a symbolic link to that location (if symbolic links are available with your version of UNIX) or have each user set the environment variable
CPLOTHOME
to
that location.
Once you have decided where to put C-PLOT, make that directory, change to it if necessary and then extract the contents of the tar tape or disk. The distribution media usually has the tar command arguments you need for your system printed on the label.
If extracting from a floppy disk, the disk will contain a compressed tar file of the C-PLOT distribution. After extracting the file, named cplot.tar.Z, you need to type the commands
zcat cplot.tar.Z | tar xvf -You can then remove the cplot.tar.Z file. (If zcat is not available on your system, contact Certified Scientific Software for assistance.) You need to make /usr/cplot/bin (or
$CPLOTHOME
/bin)
part of your
path
(or
PATH
) environment variable so that
UNIX
shell programs can find C-PLOT.
One
way to do this is by adding
set path=(/usr/cplot/bin $path)to your .login file if you use /bin/csh or
PATH=/usr/cplot/bin:$PATHto your .profile file if you use /bin/sh.