Installing as an Executable

The script file install.sh can be run at a UNIX command prompt to install FOMUS as a command-line executable program. At this point, this can only be done with SBCL, CMUCL, CLISP and OpenMCL in a UNIX environment (it's been tested in OS X and Linux), though a look at the script should show how to install it with other Lisps in any other environment.

Type the following to get a list of installation options:

Example 2.5. Running the Installation Script 1


cd path_to_install_directory
./install.sh --help
       

By default, the script tries to install the program into the subdirectories in /usr/local. The commands for a default installation using SBCL would look like this:

Example 2.6. Running the Installation Script 2


su -
cd path_to_install_directory
./install.sh --sbcl
       

There is also an option for uninstalling. To see how to use as an executable, see Command Line Interface and Text File Interface.