Changes
Page history
Add missing instructions/examples that weren't converted.
authored
Sep 27, 2015
by
Raymond Toy
Show whitespace changes
Inline
Side-by-side
InstallingCmucl.md
View page @
8761bd06
...
...
@@ -22,7 +22,11 @@ Download the archives corresponding to your platform. Certain tarballs
are PGP-signed by the packager and are accompanied by a file with an
.asc extension; in this case you can check that they have not been
modified by using GPG:
```
wget http://common-lisp.net/project/cmucl/downloads/release/19e/cmucl-19e-x86-linux.tar.bz2
wget http://common-lisp.net/project/cmucl/downloads/release/19e/cmucl-19e-x86-linux.tar.bz2.asc
gpg --verify cmucl-19e-x86-linux.tar.bz2.asc
```
GPG should tell you that the file has a good signature from one of the
...
...
@@ -35,19 +39,32 @@ trusted signature.
The release tarballs extract to the following directory structure:
```
bin/lisp
lib/cmucl/lib/lisp.core
doc/cmucl/README (this file)
man/man1/cmucl.1
...
```
This allows you to install CMUCL directly under /usr/local, for example using
```
cd /usr/local
tar xjf /path/to/cmucl-19e-<platform>.tar.bz2
tar xjf /path/to/cmucl-19e-<platform>.extra.tar.bz2
```
If you do not have a version of
`tar`
that understand the
`j`
option, you need to replace the
`tar`
command above with
```
bunzip2 < /path/to/cmucl-19e-<platform>.tar.bz2 | tar xf -
```
Alternatively, you may install under a directory in /opt (or any other
directory where you have write privileges). For example
```
mkdir /opt/cmucl-19e
cd /opt/cmucl-19e
tar xjf /path/to/cmucl-19e-<platform>.tar.bz2
tar xjf /path/to/cmucl-19e-<platform>.extra.tar.bz2
```
The 19e distribution is relocateable: the lisp binary will search for
...
...
@@ -58,6 +75,18 @@ to be able to invoke CMUCL from your shell.
You can now invoke CMUCL: this should display a banner then show a
prompt (the default prompt is an asterisk).
```
% lisp
CMU Common Lisp 19e (19E), running on mansuetude
With core: /opt/cmucl-19e/lib/cmucl/lib/lisp.core
Dumped on: Thu, 2008-05-01 18:56:07+02:00 on usrtc3142
See <http://www.cons.org/cmucl/> for support information.
Loaded subsystems:
Python 1.1, target Intel x86
CLOS based on Gerd's PCL 2004/04/14 03:32:47
* (format t "~&Hello, world!~%")
Hello, world!
NIL
*
```
## Loading subsystems
...
...
@@ -65,11 +94,18 @@ prompt (the default prompt is an asterisk).
To load precompiled subsystems (assuming that you installed the
-extra- tarball), just use
`REQUIRE`
:
```
* (require :gray-streams)
* (require :clx)
* (require :clm)
* (require :hemlock)
```
Starting with the 2010-06 snapshot, ASDF2 and MK-DEFSYSTEM are
included with CMUCL. There you can load them using
```
* (require :asdf) ; Load asdf2
* (require :defsystem) : Load mk-defsystem
```
### Known Issues
...
...
...
...