From owner-freebsd-questions@FreeBSD.ORG Fri Apr 9 23:29:54 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5EB28106566B for ; Fri, 9 Apr 2010 23:29:54 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp03.sth.basefarm.net (ch-smtp03.sth.basefarm.net [80.76.149.214]) by mx1.freebsd.org (Postfix) with ESMTP id 1A8AB8FC17 for ; Fri, 9 Apr 2010 23:29:52 +0000 (UTC) Received: from c83-255-48-78.bredband.comhem.se ([83.255.48.78]:65149 helo=falcon.midgard.homeip.net) by ch-smtp03.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1O0Ncf-0001Hp-Cs for freebsd-questions@freebsd.org; Sat, 10 Apr 2010 01:28:28 +0200 Received: (qmail 19264 invoked from network); 10 Apr 2010 01:28:24 +0200 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with ESMTP; 10 Apr 2010 01:28:24 +0200 Received: (qmail 76014 invoked by uid 1001); 10 Apr 2010 01:28:24 +0200 Date: Sat, 10 Apr 2010 01:28:24 +0200 From: Erik Trulsson To: Aiza Message-ID: <20100409232824.GA75944@owl.midgard.homeip.net> References: <4BBFB4E8.9010304@comclark.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4BBFB4E8.9010304@comclark.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-Originating-IP: 83.255.48.78 X-Scan-Result: No virus found in message 1O0Ncf-0001Hp-Cs. X-Scan-Signature: ch-smtp03.sth.basefarm.net 1O0Ncf-0001Hp-Cs 0d199b053982988dd43d906742263320 Cc: FreeBSD Questions Subject: Re: perl links X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Apr 2010 23:29:54 -0000 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. -- Erik Trulsson ertr1013@student.uu.se