perl links

Erik Trulsson ertr1013 at student.uu.se
Fri Apr 9 23:29:54 UTC 2010


On Sat, Apr 10, 2010 at 07:14:48AM +0800, Aiza wrote:
> When installing perl i see 2 links between /usr/local/bin and /usr/bin. 
> Is this still required or is it something left over from when perl was 
> part of the base system?
> 
> symlinking /usr/local/bin/perl5.8.9 and /usr/bin/perl
> symlinking /usr/local/bin/perl5.8.9 and /usr/bin/perl5

It is still required (at least the first one.)  It is there to be
compatible with a very large number of existing Perl scripts which
assume that the Perl interpreter can be found as /usr/bin/perl 

This has nothing do to with when Perl was part of the base system - it
is a Perl convention which was established before FreeBSD (or Linux for
that matter) even existed.




-- 
<Insert your favourite quote here.>
Erik Trulsson
ertr1013 at student.uu.se


More information about the freebsd-questions mailing list