All Manuals > LispWorks Release Notes and Installation Guide > 6 Installation on FreeBSD

NextPrevUpTopContentsIndex

6.4 Installing LispWorks for FreeBSD

6.4.1 Main installation and patches

The LispWorks 7.0 installer contains each of the Editions. Additionally, there may be a patch installer which upgrades LispWorks to version 7.0.x. You need to complete the main installation before adding patches.

6.4.2 Information for Beta testers

Users of LispWorks 7.0 Beta should completely uninstall it (including any patches added to the beta installation) before installing LispWorks 7.0.

See Uninstalling LispWorks for FreeBSD for instructions.

6.4.3 Installation directories

By default LispWorks is installed in /usr/local/lib/LispWorks. A symbolic link to the 32-bit executable is placed in /usr/local/bin/lispworks-7-0-0-x86-freebsd. A symbolic link to the 64-bit executable is placed in /usr/bin/lispworks-7-0-0-amd64-freebsd. However, the software package is relocatable, and the -p option can be used to allow the installation of LispWorks in a user-specified directory. The default prefix is /usr/local.

Note: the Personal Edition by default installs in /usr/local/lib/LispWorksPersonal. Do not attempt to to install different editions in the same location, since some filenames coincide and uninstallation may break.

6.4.4 Selecting the correct software package file

The 32-bit LispWorks software package file is called

lispworks-32bit-7.0.tgz

The 64-bit LispWorks software package file is called

lispworks-64bit-7.0.tgz

The Personal Edition software package file is called

lispworks-personal-32bit-7.0.tgz

6.4.5 Installing LispWorks for FreeBSD

To install LispWorks, perform the following steps as root:

  1. Follow the instructions under License agreement.
  2. Locate the software package file.
  3. Install or upgrade LispWorks in the standard way, for example:
  4. pkg_add lispworks-32bit-7.0.tgz

    This command installs LispWorks in /usr/local/lib/LispWorks. A command line of the form

    pkg_add -p <directory> lispworks-32bit-7.0.tgz

    installs LispWorks in <directory>.

The directory name must be an absolute pathname. Relative pathnames and pathnames including shell-expanded characters such as . and ~ do not work.

Note: LispWorks needs to be able find its library at runtime and therefore the LispWorks installation should not be moved around piecemeal. If you simply want to run LispWorks from somewhere more convenient, then consider adding a symbolic link.

See Running LispWorks for instructions on entering your license details.

6.4.6 Installation by non-root users

Non-root users should use the above installation procedure, but must specify the -p option to set a prefix a directory that is writable and also the -R option to prevent the package manager from attempting to update the package database.

Thus, a typical installation command for a non-root user is:

pkg_add -p installation-directory 
-R lispworks-32bit-7.0.tgz

All directory names must be absolute pathnames. Relative pathnames and pathnames including shell-expanded characters such as . and ~ do not work.

6.4.7 Installing Patches

After completing the main installation of LispWorks, ensure you install the latest patches from the package file available for download at www.lispworks.com/downloads/patch-selection.html . Patch installation instructions are in the README file accompanying the patch download.


LispWorks Release Notes and Installation Guide - 2 Mar 2015

NextPrevUpTopContentsIndex