http://www.perlmonks.org?node_id=1029553


in reply to using Perl modules on airgapped system

What operating system are you using?

If you are on Windows and have a USB port available, I would recommend checking out portable Strawberry Perl and put it on a USB stick drive. You can move the USB stick drive to a system with internet access to get more modules installed.

If you're on something like Linux, I think you can use something like CPAN::Mini to create a local "mirror" of CPAN on something like a USB stick drive and then move that to the isolated system to use for any CPAN installs. (Note: I personally have not used CPAN::mini before, so I would not be able to offer any assistance on how to use that module.)

  • Comment on Re: using Perl modules on airgapped system

Replies are listed 'Best First'.
Re^2: using Perl modules on airgapped system
by herveus (Prior) on Apr 19, 2013 at 17:52 UTC
    Howdy!

    CPAN::Mini is reasonably straightforward to use. Once you have built your local mirror, you configure the urllist in CPAN to start with a file: URL that points to the mirror. After that, it's the same as for a connected system, but no internet latency.

    yours,
    Michael