Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

RonW's scratchpad

by RonW (Priest)
on Mar 31, 2014 at 20:07 UTC ( #1080445=scratchpad: print w/replies, xml ) Need Help??

This is π "π"

Mini tutorial for installing CPAN modules without an Internet Connection

On a machine with an Internet connection, install minicpan:

cpan CPAN::Mini::App

(?) Prepare a ~/.minicpanrc configuration file:

local: /var/mirrors/minicpan/ remote: http://www.cpan.org/ exact_mirror: 1

Make (or update) your local mirror:

minicpan

Copy your CPAN mirror to your isolated ("air gapped") machine.

On your isolated machine, use cpan with your mirror:

$ cpan cpan> o conf urllist unshift file://$LOCAL cpan> o conf commit cpan> reload index
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2016-09-25 08:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (467 votes). Check out past polls.