Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Uninstalling / installing perl

by Corion (Pope)
on Jun 20, 2008 at 09:42 UTC ( #693101=note: print w/ replies, xml ) Need Help??


in reply to Uninstalling / installing perl

Basically, never remove the system Perl. You did just that, and most likely now many administrative tools of your system are broken. Your best approach is to restore the old Perl from backup and to ask your system administrator for the best way of how to proceed.

You can easily have multiple versions of Perl on your system, and this is the approach I recommend. Use the vendor-supplied version of Perl but only install the vendor-supplied modules and only through the vendor-supplied mechanism of installing/upgrading (for example, rpm or apt-get). For your own version of Perl, use cpan. Compiling and installing your own version of Perl is described in the INSTALL file that comes with your Perl distribution. You should configure your own Perl to use /opt/perl/ or ~sirsir/perl/ as the prefix directory though as not to clobber your system perl:

sh Configure -Dprefix=/opt/perl make make test make install

We cannot help you further if you keep the error messages you encounter to yourself.


Comment on Re: Uninstalling / installing perl
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2014-09-01 19:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (16 votes), past polls