Installation

Prerequisites

Summary of steps

  1. Download and unpack the distribution,
  2. run the install script,
  3. and see if it works.

Running setup.py

From the unpacked distribution run ./setup.py install . Jar files will be installed to the defined appDir and a binary to the defined binDir. By default appDir and binDir are ~/java and ~/bin respectively for a non-root user and are /usr/share and /usr/bin for root. The appDir and binDir directories must exist and be writable by the person installing. They may be overridden. For example: ./setup.py install --binDir /bin will write the executable to /bin. See ./setup.py -h to get details of options.

Any existing installation will be removed first.

To uninstall use ./setup.py uninstall which has the same options and will do nothing if there is no installation.

Check that icat-setup works

Assuming that you have installed to somewhere on your path please enter icat-setup otherwise of course you will need to specify the full path. It should respond: Must have arguments url, authenticator, credentials