LintPlus for UNIX, command-line installation instructions
----------------------------------------------------------------------

These are the installation instructions for UNIX command-line versions
of LintPlus.

----------------------------------------------------------------------

1. Download the appropriate tarball:

      * If you have a recent PC Linux distribution  (such as Red Hat 7
        or Slackware 8), get "lplus_linux.tar.gz".

      * If you have an old libc5-based PC Linux distribution  (such as       
        Red Hat 4 or Slackware 3), get "lplus_oldlin.tar.gz".

      * If you have AIX     - get:  lplus_aix.tar.Z

      * If you have HPUX    - get:  lplus_hpux.tar.Z

      * If you have IRIX    - get:  lplus_irix.tar.Z

      * If you have Solaris - get:  lplus_solaris.tar.Z

      * If you have Tru64   - get:  lplus_tru64.tar.Z

Note: If you use FTP, remember to set "binary" mode.

After downloading the appropriate tarball,  move it to the "/tmp" dir-
ectory on the target system.

----------------------------------------------------------------------

2. Log-in as "root" on the target system.  Note: "root" privileges are
recommended, but are not required.

----------------------------------------------------------------------

3. Create a directory to hold LintPlus. For example:

      mkdir -p /usr/local/cleanscape/lplus     # For most systems
or
      mkdir -p /opt/cleanscape/lplus           # For Solaris

----------------------------------------------------------------------

4. Go to the new directory. Unpack the tarball using a command similar
to the following:

For Linux systems:

      tar zxvf /tmp/lplus_NAME.tar.gz

For other UNIX systems:

      compress -c -d < /tmp/lplus_NAME.tar.Z | tar xvf -

----------------------------------------------------------------------

5. Set environment variables.

Edit your "login" scripts (and the "login" scripts for any other users
who will be running LintPlus). Add commands similar to the following:

      For "sh" users
      ------------------------------------------
      CSILINT=/usr/local/cleanscape/lplus
      CSIHOME=$CSILINT
      CSIHOST=localhost
      export CSILINT CSIHOME CSIHOST
      PATH=$CSIHOME:$PATH

      For "csh" users
      ------------------------------------------
      setenv CSILINT /usr/local/cleanscape/lplus
      setenv CSIHOME $CSILINT
      setenv CSIHOST localhost
      set path = ( $CSIHOME $path )
      rehash

Note:  "CSILINT" should specify the program directory  created in step
3. Modify the setting shown here as necessary.

After making the changes, log out, then log-in again.

----------------------------------------------------------------------

6. Install license keys.

Execute the following command:

      lplus -license=activate

This  should print a server code.  Copy the code, then press Control-C
to abort "lplus".

Call Cleanscape at  (800) 944-5468 and  ask for a  LintPlus activation
key.  Alternatively, mail the server code to "support@cleanscape.net",
along with  your  name,  company name,  and telephone number.  Mention
"LintPlus" in your message.

Cleanscape will generate an  activation key for you.  Note: Activation
keys are provided for evaluation purposes at no cost.

When you receive the activation key,  run the  following command again
and enter the key:

      lplus -license=activate

This should  create a  script  named  "startup" in the  "CSILINT" dir-
ectory.

----------------------------------------------------------------------

7. Install license manager daemon.

The "startup" script starts a license manager daemon.

To install the daemon:

        (a) Make the "startup" script executable. For example:

            chmod a+x /usr/local/cleanscape/lplus/startup

        (b) If you have  "root" access,  edit  the  appropriate system
            startup script,  add a line similar to the following,  and
            reboot the system:

            /usr/local/cleanscape/lplus/startup &

        (c) If you don't have  "root" access,  execute the script man-
            ually.

----------------------------------------------------------------------

8. Extra step for SGI IRIX.

If you're running under IRIX, an extra configuration step is needed.

The main IRIX LintPlus directory includes a  subdirectory named "sgi".
To  configure LintPlus for IRIX, go to the "sgi" subdirectory and fol-
low the instructions in the text file "README.SGI".

----------------------------------------------------------------------

9. Install "man" page (optional):

To install the UNIX LintPlus "man" page,  use  commands similar to the
following:

      cd $CSIHOME
      mkdir -p      /usr/local/man/man1
      cp -p lplus.1 /usr/local/man/man1

Modify the directory path shown here as necessary.

----------------------------------------------------------------------

The command-line version of LintPlus should now be installed and ready
for use. For more information, see the main LintPlus manual.  The man-
ual is located in the main program directory (created in step 3).
