Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: using Perl modules on airgapped system

by dasgar (Deacon)
on Apr 19, 2013 at 17:11 UTC ( #1029553=note: print w/ replies, xml ) Need Help??


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
Re^2: using Perl modules on airgapped system
by herveus (Parson) 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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1029553]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (9)
As of 2014-09-23 09:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (216 votes), past polls