Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Installing List::MoreUtils in a computer cluster

by sundialsvc4 (Abbot)
on Feb 24, 2015 at 12:37 UTC ( [id://1117651]=note: print w/replies, xml ) Need Help??


in reply to Installing List::MoreUtils in a computer cluster

This kind of requirement is essentially a re-statement of “installing Perl [packages ...] as a non-root user.”   You can, indeed, configure a local directory, arrange for PERL5LIB to include it, then arrange for cpan[m] to install things there, all without elevated privileges.   Many Un*xers will use part of /usr/local for this purpose.

It is very advisable not to tamper with whatever Perl installation might be present at the system-wide level, because many system maintenance utilities provided by [distro ...] software vendors are written in Perl, and they implicitly rely upon their database of installed packages to know what the state of the system is.   If you hose up out-of-band modify that, you’re screwed recovery can be a little delicate . . .

On the other hand, the research teams can readily configure their own, even project-specific, CPAN library configuration, superimposed upon top of the standard system installation which should remain the same, and either share that among all computers in a cluster or use version control and/or rsync to spread it across the local hard-drives of each cluster node.   The IT Team does not need to be directly involved in this, although they do need to know to inform you if and when the underlying system-wide Perl configuration might change.   (It is possible, although more rare, to create a completely isolated Perl, right down to recompiling the executable itself from source.)

Replies are listed 'Best First'.
Re^2: Installing List::MoreUtils in a computer cluster
by Anonymous Monk on Feb 24, 2015 at 21:38 UTC
    (It is possible, although more rare, to create a completely isolated Perl, right down to recompiling the executable itself from source.)

    No, it's not "more rare". A custom perl build is even advisable if the system perl and modules aren't under your control.

    See http://perlbrew.pl/

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2024-04-23 18:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found