How to get a list of available libs?

373 views
Skip to first unread message

Mihai Călin Bazon

unread,
Nov 27, 2010, 7:23:59 AM11/27/10
to quic...@googlegroups.com
Hi,

I just switched to Quicklisp and must say it r-o-c-k-s!  Thank you Zach!

Now the questions. :-)

1. How could I make a tarball of all the installed systems?  I thought about going through asdf:*central-registry* and find all the .asd-s, but with Quicklisp the central registry contains only this:

(#P"~/quicklisp/dists/quicklisp/software/slime-20101107-cvs/"
 #P"~/quicklisp/quicklisp/")

Somehow (asdf:oos 'asdf:load-op ...) still works, so I assume QL does some magic about this.  (also no more auto-completion at ,load-system in SLIME).

I could go through ~/quicklisp/dists/quicklisp/installed/ but I was hoping that there's an API to list installed packages and point out the source dir.

2. Is there a way to uninstall a system (and everything depending on it)?  For example I just installed cl-pdf, but then I figured out that Quicklisp contains the official distro (which seems rather unmaintained) and I'd like the one at https://github.com/archimag/cl-pdf instead.  No prob to install it manually but I wouldn't want to keep the one installed by QL.

Thanks,
--
Mihai Bazon,
http://mihai.bazon.net/blog

Zach Beane

unread,
Nov 27, 2010, 11:44:52 AM11/27/10
to quic...@googlegroups.com
Mihai Călin Bazon <mihai...@gmail.com> writes:

> Hi,
>
> I just switched to Quicklisp and must say it r-o-c-k-s!  Thank you Zach!

Thanks, glad to hear it's useful to you!

> Now the questions. :-)
>
> 1. How could I make a tarball of all the installed systems?  I thought about
> going through asdf:*central-registry* and find all the .asd-s, but with
> Quicklisp the central registry contains only this:
>
> (#P"~/quicklisp/dists/quicklisp/software/slime-20101107-cvs/"
>  #P"~/quicklisp/quicklisp/")
>
> Somehow (asdf:oos 'asdf:load-op ...) still works, so I assume QL does some
> magic about this.  (also no more auto-completion at ,load-system in SLIME).
>
> I could go through ~/quicklisp/dists/quicklisp/installed/ but I was hoping that
> there's an API to list installed packages and point out the source dir.

It's not documented enough, but the ql-dist package is for working with
Quicklisp dists, releases, and systems. See
~/quicklisp/quicklisp/dist.lisp for the generic functions that make up
the protocol for working with the software as objects.

> 2. Is there a way to uninstall a system (and everything depending on it)?  For
> example I just installed cl-pdf, but then I figured out that Quicklisp contains
> the official distro (which seems rather unmaintained) and I'd like the one at
> https://github.com/archimag/cl-pdf instead.  No prob to install it manually but
> I wouldn't want to keep the one installed by QL.

There isn't any API for deleting/uninstalling stuff yet, sorry. It's on
my todo list.

Zach

Reply all
Reply to author
Forward
0 new messages