CAIDA CoralReef Exercises

How To Install CoralReef

Before you can use CoralReef it must be installed on your Unix system.

CoralReef is known to work under FreeBSD (2.7, 2.8, 3.0, and 3.1),
Linux (2.0.36 and 2.2 pre*) and Solaris 2.5. It should work on other
POSIX systems as well.

Before installing CoralReef you need to know what command name to type
to use the GNU version of make. On FreeBSD and Solaris this is
normally gmake. On Linux it is normally make. Try the
following command on your system:

gmake -v

if that fails try:
make -v

And look for the name GNU Make in the output (it's normally in the
first line).

If neither of these succeed you need to have GNU make installed on your
your system before you continue. Consult your system administrator.

The commands that follow are written as if gmake is the correct
command. Replace gmake with make if appropriate.

You must also decide where you are going to install CoralReef. This
differs depending on whether you want to install it system wide or in
your own private file space. Wherever you choose the install process
will create a subdirectory Coral with further subdirectories for
the libraries (lib), header files (include), executable
user programs (bin) and system administration commands
(etc).

The standard, system wide, location is
/usr/local/. If you are installing CoralReef in your own
directory space we recommend you use the same top level directory as
you download the file to in step~{download} below.

To use CoralReef commands you will need to include the bin direcory
into your path. If you use sh or bash as your shell use a command
like:

PATH=${PATH}:coral_install_dir/bin ; export PATH

If you use csh or tcsh use a command like:

setenv PATH ${PATH}:coral_install_dir/bin

If you're not sure try the csh version and if that give you an error
message use the sh version.
If everything checks out you can tidy up by typing:

gmake clean

in the root directory and by removing the download file.