On Thu, Mar 25, 2010 at 6:17 PM, Brian Carper <briancar...@gmail.com> wrote:
>
> Ruby: gem install X
> Perl: perl -MCPAN -e shell, then "install X"

If you're just installing CPAN module X, then on most installations
all you need to run is this:

   cpan X

You can still go into the interactive shell if you want, usually by
just running "cpan" with no args.  You don't have to do that to
install a module, but if you need to find a module whose exact name
you don't know, or if a module fails to build and you want to poke
around the build tree, etc, the cpan shell is handy.

And other languages have their own flavors - PHP has PEAR/PECL, while
Python is trying to get there with PyPI, but it's not quite there yet.

The problem with CPAN is that many modules require compiling native
code (C in this case), which means that just running cpan won't work
if you don't have C dev tools installed. You can often get modules
with prebuilt binaries, but the mechanism is platform-dependent.  For
instance, each module is its own apt package for Debian/Ubuntu, while
ActivePerl on Windows uses its own Perl Package Manager (ppm.exe).

-- 
Mark J. Reed <markjr...@gmail.com>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

To unsubscribe from this group, send email to 
clojure+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to