Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Deployment Image with Perl Packages

Status
Not open for further replies.

CJason

Programmer
Oct 13, 2004
223
US
I am trying to figure out how to deploy the needed perl packages (best practice) out to multiple machines. On my local machine, I use perl -MCPAN -e 'install xxx::yyy'. I don't want to run this on every machine, I just want to deploy the necessary files for xxx::yyy (which may have many dependencies...resolved by the MCPAN install).

Is the best way to simply tar up /usr/lib/perl (or, something deeper down like /usr/lib/perl/site_perl) and untar that on the other machines?

I've never deployed perl before, so this is new to me (forgive my ignorance).

Thanks in advance!
 
Clason said:
Is the best way to simply tar up /usr/lib/perl (or, something deeper down like /usr/lib/perl/site_perl) and untar that on the other machines?

I would do that probably in the same way as you proposed.
But there are other ways too - maybe Perl Archiving Toolkit would be the better way (but I personally have no experience with it).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top