Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: How do I locally host a CPAN repository on an air-gapped server

by marto (Cardinal)
on Aug 13, 2024 at 06:30 UTC ( [id://11161029]=note: print w/replies, xml ) Need Help??


in reply to How do I locally host a CPAN repository on an air-gapped server ?

You may want to consider minicpan (provided buy CPAN::Mini) to create and maintain an 'offline' cpan mirror. I do this for work, use the tool to create a mirror on a machine with internet access, transfer it to our offline network, point cpan/cpanm towards the files.

To export all modules etc just run cpan -a to create an 'autobundle'.pm package, which you can copy elsewhere and apply via perl -MCPAN -e 'install Bundle::Snapshot_2024_08_13_00'.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (8)
As of 2024-09-13 18:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The PerlMonks site front end has:





    Results (21 votes). Check out past polls.

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.