Linux Common Lisp Quickstart HOWTO

Due to some questions on #lisp, I decided to throw together a quick, step-by-step solution to setting up a basic, but working, Common Lisp installation on Linux. The implementation used will be SBCL

This HOWTO assumes basic linux knowledge as well as knowledge of your distro’s package management system.

  1. Install SBCL from your distro’s repo or download binary build from SBCL website
  2. Install Emacs – I recommend Emacs-22 or 23. Again, for fast install, I recommend going with your distro packages – if you need/want specially patched version, you probably don’t need my hand-holding
  3. Install clbuild
  4. run cd clbuild; ./clbuild check and install any remaining dependencies.
  5. Depending on your distro SBCL packages, install local build of SBCL through ./clbuild compile-implementation sbcl. It will be used by clbuild after that and saved in ./clbuild/target
  6. Install SLIME: ./clbuild install slime
    and configure it by adding result of ./clbuild slime-configuration to your emacs config. I recommend switching slime-autodoc to t
  7. Test it by running emacs and invoking M-x slime
  8. Now go over to Cliki and maybe entertain yourself to Practical Common Lisp

Update:2010-04-10: Fixed links broken by lack of wildcard entry on sbcl.org

About these ads


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.