Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Install parallel Perl on Debian

by TheHobbit (Pilgrim)
on Nov 11, 2003 at 14:55 UTC ( [id://306199]=note: print w/replies, xml ) Need Help??


in reply to Install parallel Perl on Debian

Hi,
To install a perl from scratch on a debian box is realy a Bad Thing© to do.

Debian relays heavily on Perl for a lot of administrative tasks such as installing and configuring packets. Changing the perl version that the systems expects could (and almost certanly will) lead to disaster.

If you realy need perl 5.8.1, then you should either upgrade to testing (sarge) or change your Linux distibution. IMHO, the former solution is the best one.

Yet another possibility, is to dowload sarge's perl packages from debian home site and install them using dpkg. Doing so it's likely to start a cascade of required packages to install, which will fall very short of upgrading to sarge. I strongly advise you against upgrading just perl: upgrade your Debian box to sarge and let it be!

Hoping that this helped


Leo TheHobbit

Replies are listed 'Best First'.
Re: Re: Install parallel Perl on Debian
by skillet-thief (Friar) on Nov 11, 2003 at 17:35 UTC
    To install a perl from scratch on a debian box is realy a Bad Thing to do.
    Debian relays heavily on Perl for a lot of administrative tasks such as installing and configuring packets. Changing the perl version that the systems expects could (and almost certanly will) lead to disaster.

    I'm not an expert at all, but I'm not sure that it is quite that bad of an idea, if you keep the two Perls separate in a logical way. On my Debian box, I had to compile my own version of Perl in order to compile my own mod_perled Apache (a long story). I followed, more or less, the advice in the node the OP cited. I now have a homegrown Perl running in /opt/perl/bin, and the standard Debian perl still in /usr/perl/bin, with /usr/local/bin/perl symlinked to /opt/perl/bin/perl.

    I don't know enough about this to really give any solid advice, but so far, nothing horrible has happened, despite numerous very Debian-esque activities with apt-get and friends.

    Just my $0.015

    s-t


    Update Corrected some of my minor stupidities

    UPDATE 2: After a few weeks using this dual perl system, I still haven't had any system related problems. Debian seems to be doing just fine with its stock Debian perl.

    On the other hand, I have had some trouble installing certain modules with the new perl, in /opt, though I am not sure this is related to the dual install.

    Update 3 The problems installing modules were not the result of a conflict between the two perls, but just a demonstration that things are harder outside of Debian.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-19 03:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found