1. install Steel Bank Common Lisp from:
http://www.sbcl.org/platform-table.html
tar -xjf sbcl-1.0.58-x86-linux-binary.tar.bz2
cd sbcl-1.0.58-x86-linux
su
sh install.sh
sbcl is install to /usr/local/bin/sbcl
using (quit) to quit
2. downlaod emacs from:
http://mirror.bjtu.edu.cn/gnu/emacs/
./configure
make
make install
3. download quicklisp from:
http://beta.quicklisp.org/quicklisp.lisp
quicklistp is used to search for and install Common Lisp libraries
Next, run sbcl and type in the following:
(load “/path/to/quicklisp.lisp”)
After it loads, run:
(quicklisp-quickstart:install)
Quicklisp will install by default in ~/quicklisp
Finally, run:
(ql:add-to-init-file)
$cat ~/.sbclrc
;;; The following lines added by ql:add-to-init-file:
#-quicklisp
(let ((quicklisp-init (merge-pathnames “quicklisp/setup.lisp”
(user-homedir-pathname))))
(when (probe-file quicklisp-init)
(load quicklisp-init)))
4. install slime to sbcl
First in SBCL run:
(ql:quickload “quicklisp-slime-helper”)
5. make relation with emacs
To do that, add the following to ~/.emacs:
(setq inferior-lisp-program “sbcl”)
(load (expand-file-name “~/quicklisp/slime-helper.el”))
6. start you emacs and enjoy lisp
launch Emacs, type Alt-x (Meta-x, technically), and type in “slime”. Hit enter
and you should find yourself at a CL-USER prompt within Emacs.
http://www.mohiji.org/2011/01/31/modern-common-lisp-on-linux/