Need to update PERL

Tobias Speckbacher tobias at quova.com
Sat Apr 17 00:20:57 UTC 2004


1. You can use cpan to upgrade perl itself, your rpmdb wont reflect the
version in this case.  Alternativley, you could wait for someone to
build/release an rpm, compile perl manually, or build the rpm yourself.

If you choose to go with cpan do the following:

#>perl -MCPAN -e shell

cpan> i /perl-5/
// something like the following should show up on your screen
Distribution    G/GA/GAAS/libwww-perl-5.10.tar.gz
Distribution    G/GA/GAAS/libwww-perl-5.53.tar.gz
Distribution    G/GA/GAAS/libwww-perl-5.77.tar.gz
Distribution    G/GA/GAAS/libwww-perl-5.79.tar.gz
Distribution    H/HV/HVDS/perl-5.9.0.tar.gz
Distribution    J/JH/JHI/perl-5.7.1.tar.gz
Distribution    J/JH/JHI/perl-5.7.2.tar.gz
Distribution    N/NW/NWCLARK/perl-5.8.2.tar.gz
Distribution    N/NW/NWCLARK/perl-5.8.3.tar.gz
Distribution    N/NW/NWCLARK/perl-5.8.4-RC2.tar.gz
Distribution    R/RG/RGARCIA/perl-5.6.2.tar.gz
Distribution    R/RG/RGARCIA/perl-5.9.1.tar.gz

cpan> install N/NW/NWCLARK/perl-5.8.3.tar.gz


This should download compile and install perl 5.8.3 on your system, you
will have to answer many many questions much like you would have to for
./configure on a manual compile.  

2. Provided that you install perl exactly like the perl rpm you already
have, the modules *should* in theory, having said that I haven't done a
non-packaged perl upgrade in a while so I can't attest to it (but there
shouldn't really be any difference).  Creating a test environment for
these types of things always is a good idea. Testing > hindsight.

I'd probably opt for the manual compile in your situation, if you can
get the src.rpm for the 5.8.0 build that you have you might find the
%build section in the spec file of interest to replicate the
configuration, heck you could even take it and build your 5.8.3 rpm with
it (after some fiddling with it of course).

Just on a side note, which features in 5.8.3 are worth the effort
upgrading  from 5.8.0 in your environment (just asking out of personal
interest).

-Tobias




-----Original Message-----
From: redhat-list-bounces at redhat.com
[mailto:redhat-list-bounces at redhat.com] On Behalf Of Sysadmin
Sent: Friday, April 16, 2004 3:17 PM
To: General Red Hat Linux discussion list
Subject: Need to update PERL

I'm in a bit of a quandary.  I need to update my Perl 5.8.0 to Perl
5.8.3.  

The problem is...it was installed in RPM form when the system was
built.  Checking the the installed RPM's shows now les than 2 dozen
RPM's that appear to be addons to Perl.  To make things worse, I am
unable to find an RPM install of Perl 5.8.3.  I have no problem with
compiling source but
1) I'm not sure about how "install/upgrade" over the current
2) worry about that "breaking" some or all of the addons.

Suggestions, options, cautions appreciated


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list





More information about the redhat-list mailing list