[racket-dev] Installing subsets of Racket

From: Laurent (laurent.orseau at gmail.com)
Date: Mon Sep 16 04:32:01 EDT 2013


(this is not a complain, just an inquiry)

While installing Racket on a small server, I wanted to avoid installing gui
and doc related libraries.
The minimal install was great!

Then I wanted to install a package of my own (the aptly named "bazaar"),
which requires "images" and other gui libs (which I actually would not use
on the server), among other things, but no doc

But the "images" package draws racket-doc and gui-doc dependencies, which
in turn draws practically all of Racket. And it then takes a much longer
time for `raco setup` to do its job that I had hoped for.

Certainly, this can be resolved by splitting "images" and "bazaar" into
lib, gui and docs packages, but I foresee another problem:
It's difficult to enforce such a split for third-party libraries, as it
puts the burden on the user.
And the first package like that to be installed will again draw all of
Racket dependencies.

This is probably not a trivial matter, but what can be done about this?

My dream would be that gui and doc dependencies are never triggered,
without preventing the packages I actually use to be downloaded, but I
don't know how this could actually be ensured without a good amount of

Merely preventing downloads does not sound like a good option though.

I bet you've already discussed this far and wide, so are there any plans?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/dev/archive/attachments/20130916/358b1616/attachment.html>

Posted on the dev mailing list.