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

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
There are links to eleventy million pages explaining how to install modules in your home dir here. Of them all, these days I recommend using local::lib. At least, I do on Unix. No idea how well it works on Windows.

To install without internet access you'll need to get the distribution (the Some-Module-1.234.tar.gz) file or its contents onto the machine. Untar it, then ...

cd Some-Module-1.234 cpan .

Adjust as necessary for other CPAN clients. These days cpanminus is probably the best choice.

Installing dependencies can be a gigantic pain in the arse if you don't have internet access (or you don't have a copy of the CPAN already on the target machine). If you have lots of dependencies, then I suggest that you build another machine similar to the target - same OS, same word length - which could be a virtual machine on your desktop which *does* have internet access, and build all your modules there. Once that's done, copy the results to the target machine and hope for the best.


In reply to Re^3: Compile portable Perl program on Windows to run on UNIX by DrHyde
in thread Compile portable Perl program on Windows to run on UNIX by prescott2006

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    [LanX]: it's considered spamming to advertise threads here
    [LanX]: just wait

    How do I use this? | Other CB clients
    Other Users?
    Others contemplating the Monastery: (10)
    As of 2018-04-24 15:36 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?
      Notices?