Common Lisp/External libraries/ASDF/Installing ASDF
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:
If this succeeds, ASDF is installed and ready to go.
If you have cvs installed, you can download asdf with the following commands. Press enter when prompted for a password.
cvs -d:pserver:email@example.com:/cvsroot/cclan login cvs -z3 -d:pserver:firstname.lastname@example.org:/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
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
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:
/Path/to with the full path to the asdf.lisp file.
For example, if you've used cl-asdf package on Debian (or Ubuntu) GNU/Linux, the command will look like this:
(load #p"/usr/share/common-lisp/source/cl-asdf/asdf.lisp")Last modified on 30 August 2012, at 22:09