spreq
asked on
upgrade PERL
Hi all,
I just upgrade PERL from 5.005 to 5.82 on sparc solaris 8.
I download the PERL from www.sunfreeware.com and use this 2 command for
installation:
i) gunzip -d perl....gz
ii) pkgadd -d perl....
the installation succeed, but when i reboot and check the current perl using perl -V and perl -v,
it still using the perl 5.005 instead of the new perl.
the old perl is at /usr/bin/perl
and the new one at /usr/local/bin/perl
my question is..
what/where should i change to change to new perl
tq.
I just upgrade PERL from 5.005 to 5.82 on sparc solaris 8.
I download the PERL from www.sunfreeware.com and use this 2 command for
installation:
i) gunzip -d perl....gz
ii) pkgadd -d perl....
the installation succeed, but when i reboot and check the current perl using perl -V and perl -v,
it still using the perl 5.005 instead of the new perl.
the old perl is at /usr/bin/perl
and the new one at /usr/local/bin/perl
my question is..
what/where should i change to change to new perl
tq.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Do NOT damage/destroy the old Perl!!!!!!!!!!!!
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
export PATH=/usr/local/bin:$PATH
(You may want to add that to your profile)
Or you can create an alias that points to the new Perl:
alias perl='/usr/local/bin/perl'
(Also may go in your .profile (Or system wide /etc/profile)