Re: installing perl

From: Ben Morrow (usenet_at_morrow.me.uk)
Date: 11/09/03


Date: Sun, 9 Nov 2003 17:53:16 +0000 (UTC)

news@group.com wrote:
> Hello
> I am i the middle of installing perl5.8.1 in my box "Debian woody, 2.4.21".
> since debian has it's perl-dist-package, I followed the instruction on
> http://perlmonks.thepen.com/285799.html
>
> username@domain:~$wget http://cpan.org/src/stable.tar.gz
> username@domain:~$tar -zxvf stable.tar.gz
> username@:~$cd perl-5.8.0
> username@domain:~/perl-5.8.1$rm -f config.sh Policy.sh
> username@domain:~/perl-5.8.1$sh Configure -de
> username@domain:~/perl-5.8.1$make
> username@domain:~/perl-5.8.1$make test
> username@domain:~/perl-5.8.1$make install
>
>
> 4.confirm new Perl 5.8.0 is user Perl
> perl -e 'print "$]\n";' should tell you "5.008".
>
> my question, why the last command not showing 5.008 and instead shows
> 5.006001?

Likely you still have 5.6.1 installed as /usr/bin/perl. The easiest
way to fix this is

mv /usr/bin/perl /usr/bin/perl5.6.1
ln -s /usr/local/bin/perl /usr/bin/perl

, or, alternatively, use dpkg to remove the old perl, in which case
you should probaly still make the symlink
/usr/bin/perl -> /usr/local/bin/perl.

Ben

-- 
If I were a butterfly I'd live for a day, / I would be free, just blowing away.
This cruel country has driven me down / Teased me and lied, teased me and lied.
I've only sad stories to tell to this town: / My dreams have withered and died.
  ben@morrow.me.uk   <=>=<=>=<=>=<=>=<=>=<=>=<=>=<=>=<=>=<=>=<=>   (Kate Rusby)