These instructions describe how to install LispWorks on Linux. The steps and screenshots below were taken while running Ubuntu 9.04 Desktop Edition, and they will vary slightly based on your PC’s configuration.
First, download LispWorks from http://www.lispworks.com/downloads/.
Specifically, four files should be downloaded:
Next, prepare the license file by running the lwper-license.sh
script. This will create a license file in the /tmp
directory, and it is used during the installtion.
yucheng@ubuntu-9:~/Downloads$ ls -l total 31060 -rw-r--r-- 1 yucheng yucheng 21506241 2009-08-17 20:21 lwdoc51-x86-linux.tar.gz -rw-r--r-- 1 yucheng yucheng 1670 2009-08-17 20:19 lwlper-install.sh -rw-r--r-- 1 yucheng yucheng 9753 2009-08-17 20:18 lwlper-license.sh -rw-r--r-- 1 yucheng yucheng 10234140 2009-08-17 20:20 lwper51-x86-linux.tar.gz yucheng@ubuntu-9:~/Downloads$ sh ./lwlper-license.sh : Agree to the license? (yes/no) yes yucheng@ubuntu-9:~/Downloads$
You can verify the license installed correctly by checking for a file created in the /tmp
directory. The license is valid for only the user installing LispWorks.
yucheng@ubuntu-9:~/Downloads$ ls /tmp/.*lisp* /tmp/.170809lispworksper1001 yucheng@ubuntu-9:~/Downloads$
Next, install LispWorks by running the lwper-install.sh
installation script. Specify a prefix for the installation directory. In my case, I chose /home/yucheng/bin
.
yucheng@ubuntu-9:~/Downloads$ mkdir ~/bin/ yucheng@ubuntu-9:~/Downloads$ sh ./lwlper-install.sh --prefix /home/yucheng/bin Installing LispWorks Personal from /home/yucheng/Downloads in /home/yucheng/bin yucheng@ubuntu-9:~/Downloads$ ls ~/bin lib lispworks-personal-5-1-1-x86-linux readme-5-1.txt yucheng@ubuntu-9:~/Downloads$
After LispWorks is installed, you may also need to install Open MOTIF™ 2.2 or higher. This library is available from The Open Group. On Ubuntu (and other modern Linux distributions), however, this can be install using a package manager. A package manager is the preferred method if it is available.
yucheng@ubuntu-9:~/Downloads$ sudo apt-get install libmotif3 Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: libmotif3 0 upgraded, 1 newly installed, 0 to remove and 20 not upgraded. Need to get 0B/1314kB of archives. After this operation, 3244kB of additional disk space will be used. Selecting previously deselected package libmotif3. (Reading database ... 105737 files and directories currently installed.) Unpacking libmotif3 (from .../libmotif3_2.2.3-4_i386.deb) ... Setting up libmotif3 (2.2.3-4) ... Processing triggers for libc6 ... ldconfig deferred processing now taking place. yucheng@ubuntu-9:~/Downloads$
At this point, it should be possible to run LispWorks, which will have been installed to the directory specified earlier (using the prefix
option). For example,
yucheng@ubuntu-9:~/Downloads$ ~/bin/lispworks-personal-5-1-1-x86-linux &
yucheng@ubuntu-9:~/Downloads$