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

Re: How do I keep Red Hat perl RPM updates from damaging our local module upgrades and installations?

by trwww (Priest)
on Mar 15, 2012 at 06:39 UTC ( #959728=note: print w/ replies, xml ) Need Help??


in reply to How do I keep Red Hat perl RPM updates from damaging our local module upgrades and installations?

Like the AM mentioned above, pretend like the system perl doesn't even exist. Its really (and I mean really) easy to make your own perl. You can even make a bunch of them (different versions, whatever you want).

The easiest way is to use something like App::perlbrew. You'll install this module with the system CPAN, and then you can install and switch between perl versions with a couple simple commands.

If you want to manage the installs yourself so you see whats going on, to me in many ways its even easier than perlbrew:

$ wget http://www.cpan.org/src/5.0/perl-5.8.1.tar.gz $ tar -zxf perl-5.8.1.tar.gz $ cd perl-5.8.1 $ sh Configure -de -Dprefix=/opt/perl-5.8.1 $ make $ make install $ export PATH="/opt/perl-5.8.1/bin:$PATH"

Now you have a throwaway perl in /opt/perl-5.8.1. Say you want to upgrade your modules but roll back if it doesn't work out. With this setup you can archive /opt/perl-5.8.1, do your module upgrades and test, and if it doesn't work out just delete /opt/perl-5.8.1 and extract the archive.

See my reply at Re: Windows type needs to set up Linux with Perl 5.8.1 to match PAUSE for more summary and Re: 2nd Perl installation on Mac OSX for complete details of how I manage perl installations if you're interested.


Comment on Re: How do I keep Red Hat perl RPM updates from damaging our local module upgrades and installations?
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2014-09-23 07:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (210 votes), past polls