- Download and save the
locfit source archive.
tar -xvf locfit.tar
The Locfit source files are extracted to the locfit subdirectory.
cd to that directory.
- If the readline library is available on your system (does
produce any files?) you can enable readline by adding the line
at the top of src-d/main.c, and adding
to the LDFLAGS in the Makefile.
If your X libraries are not in /usr/X11R6/lib, edit
the XLDFLAGS line in the Makefile. Locfit can also
be compiled with ASCII graphics in place of X.
- Compile the source code:
For the ASCII graphics version, use
If the compilation was successful, Locfit is ready to run. Type
To install the example datasets,
locfit> run install.cmd
To make LOCFIT accessible to multiple users,
move the locfit.sh script to /usr/local/bin/locfit.
You'll need to edit the LFHOME variable in that script.