Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 May 2003 12:52:46 +0100
From:      Daniel Bye <dan@slightlystrange.org>
To:        bsd <freebsd-questions@freebsd.org>
Subject:   Re: /usr/local/bin and so forth
Message-ID:  <20030508115246.GB73030@catflap.home.slightlystrange.org>
In-Reply-To: <20030508054622.66b3bac7.erichey2@attbi.com>
References:  <20030508054622.66b3bac7.erichey2@attbi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, May 08, 2003 at 05:46:22AM -0600, collins wrote:
> Coming from a linux background (gentoo distro), I find it strange to
> find all sorts of crap in /usr/local/bin.  I'm used to find all standard
> software in /usr/bin (or certain binary packages in /opt) and to find
> /usr/local/bin reserved for stuff added by the local administrator.
> 
> 1. What's the rationale behind this for freebsd?

AFAIK, the default install puts nothing in /usr/local/{bin,sbin}.  The
majority of software installed from ports goes here.  The rationale?  I
guess the ports software goes here because it's specific to a given machine,
and not part of the base system.

> 2. Where does one (as a standard) put truly local scripts, etc. so it
> won't get confused with all the stuff in /usr/local/bin?

Err, if it's stuff you've added above the base system, the best place _is_
/usr/local.  I tend to make a directory /usr/local/script for my own bits of
Perl and shell code.

Only parts of the base system go in (/usr)?/s?bin.

HTH

Dan

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3D73 AF47 D448 C5CA 88B4 0DCF 849C 1C33 3C48 2CDC
                                                                     _
                                              ASCII ribbon campaign ( )
                                         - against HTML, vCards and  X
                                - proprietary attachments in e-mail / \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030508115246.GB73030>