Common Lisp/External libraries/ASDF/Installing ASDF
Contents |
[edit] Installing ASDF
[edit] Is it installed for you?
Many lisp systems encoding SBCL, Allegro, OpenMCL and ECL are bundled with asdf. To test this, try entering the following into a lisp interpreter:
(require 'asdf)
If this succeeds, ASDF is installed and ready to go.
[edit] Downloading ASDF
If you have cvs installed, you can download asdf with the following commands. Press enter when prompted for a password.
cvs -d:pserver:anonymous@cclan.cvs.sourceforge.net:/cvsroot/cclan login cvs -z3 -d:pserver:anonymous@cclan.cvs.sourceforge.net:/cvsroot/cclan co -P asdf
Alternatively, you can just download asdf.lisp from http://cclan.cvs.sourceforge.net/cclan/asdf/
Under Debian Linux and related systems, you can install asdf with:
apt-get install cl-asdf
[edit] Loading ASDF
Save asdf.lisp and associated other files into a location of your choice. For example my lisp files are in my home directory at /Users/Kirk/lisp. If you install ASDF system wide it may be under /user/local/lib.
Open the startup file for the lisp you are running. For clisp this will be ~/.clisprc.lisp. For cmucl try ~/.cmucl-init. Add the following line:
(load #p"/Path/to/asdf.lisp")
Replace /Path/to with the full path to the asdf.lisp file.
This page may need to be