Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Installing (lotsa) modules

by jplindstrom (Monsignor)
on Oct 11, 2001 at 13:32 UTC ( #118179=perlquestion: print w/replies, xml ) Need Help??

jplindstrom has asked for the wisdom of the Perl Monks concerning the following question:

I just built and installed Perl 5.6.1 on a Solaris box in our development subnet (being used to the ActiveState distribution on Windows, I was surprised by the small number of modules installed. For example, LWP wasn't installed).

What's the easiest way to install LWP and all dependent modules (along with a bunch of other modules)? Is out when I don't have an unblocked Net connection? Or should I really, really get the sysadmins to open outbound port 80 and 21?



Replies are listed 'Best First'.
Re: Installing (lotsa) modules
by Zaxo (Archbishop) on Oct 11, 2001 at 14:28 UTC

    You can install Bundles from CPAN:

    # perl -MCPAN -e 'shell' cpan> b # (get a list of some 130 Bundles) cpan> install Bundle::LWP etc...
    This will install large numbers of related modules.

    After Compline,

      You can also create your own bundles, or if you have a box that's already got what you want installed you can use the autobundle command to get to make one for you using what's currently installed. See the section "POPULATE AN INSTALLATION WITH LOTS OF MODULES" in perldoc CPAN.

        You can also create your own bundles

        Would modules that are not pure Perl still need a working compiler on the target machine? Or could they be complied on the donor machine and bundled onto the target machine fully formed?

Re: Installing (lotsa) modules
by mirod (Canon) on Oct 11, 2001 at 17:42 UTC

    Nobody seems to have mentionned it, but when you run CPAN for the first time its configuration options include whether you use a proxy or not. So even if you are behind a firewall you can still use it.

Re: Installing (lotsa) modules
by mugwumpjism (Hermit) on Oct 11, 2001 at 17:24 UTC
Re: Installing (lotsa) modules
by Graham (Deacon) on Oct 11, 2001 at 17:07 UTC
    You could install the SiePerl binary distribution of Perl 5.6.1 for Solaris.

    This includes numerous modules as listed in this modules readme file and may contain most of what you require.

Re: Installing (lotsa) modules
by khippy (Scribe) on Oct 11, 2001 at 17:37 UTC
    I can't complete my answer at the moment, but maybe some nice
    PM knows to finish it...
    At my homelibrary (at which I am currently *not*) I have
    a book from O'Reilly about perlmodules, which has a cdrom
    including a snapshot of the cpan server and a to-be-modified
    script to install *all* modules from the cdrom.
    Unfortunately I can't look up the title, now, but, if none
    completes this, I will as soon as I get home.

    there are no silly questions

      So, as I have promised to tell about the O'Reilly book with
      the cdrom included, to install all of the modules that
      are in the cpan snapshot included there for offline install,
      here it is:

      I am located at germany, so I tell you the original information
      first, then I will translate the stuff:

      "Programmieren mit Perl Modulen" von Nate Patwardhan & Clay
      Irwing, ISBN 3-89721-108-4
      and as you might guess ;-)
      "Programming with Perl Modules" by Nate Patwardhan & Clay Irwing
      ...the ISBN seems not to be international, and I don't know how
      to convert it, so I present you a link right here:
      and if the book is still available, I don't know.
      But if you are willing to follow that, you will be lucky when
      keep on searching :-)

      One thing that came into my mind, when I kept on thinking about
      not to forget my promise: There are a lot of internet related
      modules, which might won't install, if your box is so firewalled.
      BTW: I never tried out the script, so, if you try it out, I'd
      appreciate a comment about it.


      there are no silly questions

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://118179]
Approved by root
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2021-08-06 03:45 GMT
Find Nodes?
    Voting Booth?
    My primary motivation for participating at PerlMonks is: (Choices in context)

    Results (44 votes). Check out past polls.