Installing Cougaar

Download

The latest version of Cougaar can be obtained at http://cougaar.org/projects/cougaar/. Cougaar can be installed both manually (ZIP files) and for older versions, through the use of a Windows or LINUX based installer. Both installation methods are described below.

Requirements

  1. Java 1.4.2+ installed and on the system path (see http://java.sun.com )
  2. Optional: (required for some applications): MySQL version 3.23+ (see http://dev.mysql.org )

Installer based Installation

Ensure all the requirements above are satisfied, run the installer.  Once Cougaar has been installed, you must define an environment variable: COUGAAR_INSTALL_PATH to point to the install location and ensure that COUGAAR_INSTALL_PATH/bin is on your system path.

Note: On Windows, the above steps are handled by the installer.

Normal Installation

This document outlines a basic custom installation. For a more detailed custom installation, see the CSMART install guide (COUGAAR_INSTALL_PATH/csmart/doc/InstallAndTest.html or online):

  1. Ensure that you meet the JDK requirements above.
  2. If you plan on using some CSMART functionality or the “logistics” project, then you will need to also install MySQL, as specified above.  You can use the Installer, or install MySQL as described in the CSMART install guide.
  3. Create a Cougaar directory (ie "C:/Cougaar") and set a "COUGAAR_INSTALL_PATH" environment variable to point to this directory.
  4. Recommended: Put COUGAAR_INSTALL_PATH/bin on your PATH environment variable, for easy access to the "cougaar" startup script.
  5. Unzip the desired zip files into COUGAAR_INSTALL_PATH.
    (The following two are required.)
    (The other jars, such as cougaar-src.zip and cougaar-api.zip are optional.)

  6. You should now be able to run the pizza application (see COUGAAR_INSTALL_PATH/pizza/doc/Readme.html or online), the tutorials, or develop your own configurations.
  7. You might look at the Getting Started Guide.