in reply to Upgrade perl

This is not a Perl question, but a Linux question. Here are the steps you need to make:

1) get a good book on Linux administration
2) read it and understand it (especially the part about upgrading software)
3) follow the instructions

OR

1) download the Perl 5.8.3 rpm (if your distro uses RPM)
2) cd to directory you downloaded the rpm to
3) su -
4) rpm -Uvh <rpm>

Note: You want to be careful doing this. I have heard of situations where upgrading Perl "breaks" other things. So make sure you have your ducks in a row before you upgrade.

davidj

Replies are listed 'Best First'.
Re^2: Upgrade perl
by glwtta (Hermit) on Jul 15, 2004 at 18:17 UTC
    This is as much a perl question as it is a linux question. The most annoying part of upgrading perl is making sure all your installed packages will still work with the new one, especially given the binary compatibility shenanigans that have been going on with the low 5.8.x's

    For instance, had I known about perl -MCPAN -e autobundle earlier, I could've saved myself a lot of headaches involved in these upgrades.

    Your second example assumes that the Linux distribution in question is rpm based, which is not necessarily the case (would've helped if the OP mentioned the specific flavour); even if it is, perl itself could've been installed from source, for a variety of reasons (for example, RedHat has been shipping with an oddly compiled perl for a long time, one of the biggest problems being that large file support was turned off for whatever reason).

    If the installed (and the new) perl wasn't prepackaged by the system vendor, it would help to examine the output of perl -V to match the new environment to the old one.