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

I have a linux machine that is not connected to Internet. I can download on PC and trasfer files to Linux. How I can download and install modules which has large number of dependencies on linux ? For example: Task-Kensho or Task::Moose.
Thanks.
  • Comment on Modules Downloading and Installing with Dependencies.

Replies are listed 'Best First'.
Re: Modules Downloading and Installing with Dependencies.
by Corion (Patriarch) on Jun 09, 2011 at 15:27 UTC

    I'd create a local CPAN mirror for that machine. See CPAN::Mini.

    If you don't want to do that, you can use App::cpanminus (for example) to get a list of dependencies for a module and then download the modules in that list.

      I've been meaning to add a Thingy to CPANdeps to make on demand a mini-CPAN specifically for the module you're interested in and put it into a tarball. I'm currently blocked on lack of tuits, but I accept bribes and patches :-)