Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Apr 2001 07:47:59 -0500
From:      Mike Meyer <mwm@mired.org>
To:        "Albert D. Cahalan" <acahalan@cs.uml.edu>
Cc:        questions@freebsd.org
Subject:   Re: How Is The FeeBSD OS Like and Different Than Say Redhat or Suse LINUX
Message-ID:  <15077.30207.8849.168351@guru.mired.org>
In-Reply-To: <8445156@toto.iv>

next in thread | previous in thread | raw e-mail | index | archive | help
Albert D. Cahalan <acahalan@cs.uml.edu> types:
> Thomas (Matt) Barton writes:
> > Another great thing about the ports collection is that everything
> > gets installed in /usr/local.  I don't have to worry about /etc
> > getting cluttered, as well as /bin, /usr/sbin, etc.  There are a
> > few exceptions, of course, such as qmail which goes to /var/qmail,
> > but that is about it.
> Every FHS-compliant Linux distribution reserves /usr/local
> for _you_ to use. It is for _local_ stuff only.
> 
> Doesn't this make sense? If you compile a home-grown or self-ported
> app for FreeBSD, where would you put it? I hope you don't dump it
> in /usr/local with all the stuff provided by FreeBSD! It looks like
> you need a /usr/local/local or /usr/local_I_REALLY_MEAN_IT for this.

Yes, but "ports are just pre-ported stuff to make your life simple" is
the counterargument. Unless you want to treat the two differently, it
really doesn't make any difference. Since I do want to treat them
differently (because I can restore packages from the CDROM set), I
agree with you, and set LOCALBASE= /usr/opt in /etc/make.conf.

> Putting emacs under /usr/local is a relic from the days when
> you'd buy a real UNIX system without emacs. It made sense,
> since you were installing local (your site) additions. Now you
> get emacs on a CD-ROM along with the rest of your OS.

I've got emacs under /usr/local. That's because I didn't like any of
the versions in the ports tree, so grabbed mine from xemacs.org. As
such, it ain't on the CDROM set it goes in /usr/local, not /usr/opt.

This does bring up a question - how many Linux package distribution
systems let you change the installation point if you want to?

	<mike
--
Mike Meyer <mwm@mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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