Previous: Installing CLPM from Source, Up: CLPM Installation [Contents][Index]
This section walks you through how to set it up, using the packages provided by the primary Quicklisp distribution.
Configure CLPM to use the primary Quicklisp distribution as a source for packages.
$HOME/.config/clpm/sources.conf
with the following
contents:
("quicklisp" :type :quicklisp :url "https://beta.quicklisp.org/dist/quicklisp.txt")
Configure ASDF to find the CLPM client. Assuming you haven’t modified your ASDF
source registry too much, place the output of the following command at
$HOME/.config/common-lisp/source-registry.conf.d/20-clpm-client.conf
.
clpm client source-registry.d
Configure your favorite Lisp to load the client by placing the output of the
following command in your Lisp’s init
file (such as $HOME/.sbclrc
).
clpm client rc
Start your favorite Common Lisp implementation and enter into the default CLPM context.
(clpm-client:activate-context "default" :activate-asdf-integration t)
When using Quicklisp metadata directly, you need to sync in order to get all the metadata locally (other types of sources are able to lazily sync). This step will take a while the first time as it downloads and processes every version of the distribution.
(clpm-client:sync :sources "quicklisp")
Now you can try loading a system, such as alexandria
:
(asdf:load-system :alexandria)
CLPM will see that alexandria is not present locally and ask you if you would like to install it automatically.
Previous: Installing CLPM from Source, Up: CLPM Installation [Contents][Index]