Installing ports to /usr

Matt Fioravante fmatthew5876 at
Thu Nov 15 00:30:04 PST 2007

Well I was just comtemplating the idea of setting up a freebsd load at
my workplace. They already run linux and solaris and because of bad
decisions in the past, they mount their afs shares on /usr/local. So I
would have to install ports in /usr or some other prefix.

On Nov 14, 2007 2:38 PM, Lars Eighner <luvbeastie at> wrote:
> On Wed, 14 Nov 2007, Matt Fioravante wrote:
> > Would there be any negative ramifications to installing ports in /usr
> > instead of /usr/local? Like could they potentially clobber system
> > binaries and other files or is this pretty safe to do?
> I know of a few name conflicts that can occur in certain circumstances (such
> as the system lpr and hplip lpr).  You may be lucky and avoid these.  It is
> also possible that some ports will not find one another or that wrong
> locations may be hard coded --- this should not happen, but there should not
> be any broken ports, unfetchable sources and so forth.
> Such an arrangement would require extreme vigilance, beyond what the ports
> management software can do (if they can be persuaded to work at all in such
> an environment).  I cannot think of a good reason to do what you want to do,
> but you ought to be very clear that somehow there is no other way and be
> prepared for the consequences.
> --
> Lars Eighner
> 8800 N IH35 APT 1191 AUSTIN TX 78753-5266

More information about the freebsd-questions mailing list