This is a standard unix thing to do, and since Apple are now based around Darwin (a BSD clone) it should be simple (Caveat and full disclosure - not an apple boy, they may have done something to break this model - but its standard under any other Unix).

The following is what I'd do in BSD, Linux or any of the other Unices I've worked on.

Simply create your own stack in /opt directory. You do this using the "configure --prefix=/opt/stackname" option. Which creates everything under /opt/stackname. You end up with an /etc, a /var, and so on, all under you main dir. Then you just copy your stack (i.e. everything under the prefix). Assuming the boxes are genuinely identical then it will be fine.

This is also a good way for making software uninstalls easy - you just delete the ../stackname directory and you know you've got everything. (note though that if you do this you have to treat /opt the way you would /var, i.e. if you normally put /var on it's own partition so that logs (for example) don't fill up all your working space, then you should do the same to /opt)

Also given the next couple of comments I should say that this is, obviously, separate to package management systems.


In reply to Re: installing Perl (and other software) on multiple identical machines by stevemayes
in thread installing Perl (and other software) on multiple identical machines by punkish

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, details, 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, summary, 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.