Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Installing using CPAN without internet

by duckyd (Hermit)
on Dec 18, 2006 at 07:07 UTC ( [id://590394] : note . print w/replies, xml ) Need Help??


in reply to Installing using CPAN without internet

Using CPAN.pm to install perl modules will require access to the internet from the machine you're running on. I'd suggest that you download all the tarballs you need, bring then on some type of removable media, and install each manually. You'll need to be careful to make sure you bring all the dependencies with you, but other than that it should be straightforward.

Update: as graff noted above, depending on the OS you're dealing with the process can differ. The above advice should suffice on *nix, or most anywhere as long as you are able to install modules from c source

  • Comment on Re: Installing using CPAN without internet

Replies are listed 'Best First'.
Re^2: Installing using CPAN without internet
by blazar (Canon) on Dec 18, 2006 at 10:34 UTC
    Using CPAN.pm to install perl modules will require access to the internet from the machine you're running on.

    IIRC this is not strictly true: one can have a local mirror of all the modules he needs, and then she can conveniently use CPAN.pm with file:// URLs. Then I believe (but I am not really sure because I've only given a peek into the module's docs) one could use CPAN::Mini::Inject on the machine with internet connection to resolve dependencies for given modules and mirror them locally.