Ugrade Perl to 3.8.8

DRKT

Verified User
Joined
Oct 8, 2003
Messages
201
Hi!

how upgrade perl 3.8.0 to 3.8.8 ? and how install CPAN?

Thanks!
 
Last edited:
how upgrade perl 3.8.0

That would be a downgrade. The current version is 5.8.8. Perl and cpan are automatically installed in most distributions.
 
Sorry my Perl version is 5.8.0 and i want upgrade to 5.8.8 how?

Thanks!
 
Based on the SpamAssassin 3.2.0 thread, the new SA requires features that indirectly require Perl 5.8.8.
 
I think you mean:

Code:
wget http://www.perl.com/CPAN/src/stable.tar.gz
 
Will this modify or harm the current Perl paths in CentOS 3.8? Rather what I'm asking is that, does CentOS 3.8 have custom path's for perl that if I was to compile perl from source that it'd put it in a different location??
 
You're running Redhat 8.0 ???

Might be time to think about an upgrade there... RH8 is even beyond Legacy support I thought.

for upgrade command line... REDHAT 8.0 it's ok?
-----------
cd /usr/local/directadmin/customapache
wget http://www.perl.com/download.csp#stable
tar -zxvf stable.tar.gz
cd perl-5.8.8
./configure.gnu
make
make install
-----------

or... ??

thanks
 
It might have been installed at /usr/local/bin/perl, but /usr/bin/perl (the old one) has higher priority in the $PATH....

Type:

updatedb
locatel perl |grep bin

to see what you have.
Check the versions of those files directly, eg:

/usr/local/bin/perl -v

John
 
don't work...

if write: perl -v

i have always perl 5.8.0

if write: /usr/local/bin/perl -v ...it's ok

why?
 
Because now you have two versions of perl installed. One in /usr/bin/perl and one in /usr/local/bin/perl

If you do not want to delete the old installation then change the top line of your perl scripts to #!/usr/local/bin/perl
 
if i want 5.8.8 by default? and spamassassin have same error...

thanks!
 
Last edited:
Back
Top