From owner-freebsd-questions@FreeBSD.ORG Mon Mar 29 12:40:00 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 EC4021065673 for ; Mon, 29 Mar 2010 12:39:59 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: from mail-qy0-f195.google.com (mail-qy0-f195.google.com [209.85.221.195]) by mx1.freebsd.org (Postfix) with ESMTP id B2CC28FC1A for ; Mon, 29 Mar 2010 12:39:59 +0000 (UTC) Received: by qyk33 with SMTP id 33so7244521qyk.28 for ; Mon, 29 Mar 2010 05:39:58 -0700 (PDT) MIME-Version: 1.0 Sender: aimass@yabarana.com Received: by 10.229.98.138 with HTTP; Mon, 29 Mar 2010 05:39:58 -0700 (PDT) In-Reply-To: <4BAFFC4B.5010501@centurytel.net> References: <4BAFFC4B.5010501@centurytel.net> Date: Mon, 29 Mar 2010 08:39:58 -0400 X-Google-Sender-Auth: fd4830d9909ad5a4 Received: by 10.229.211.146 with SMTP id go18mr2996044qcb.47.1269866398389; Mon, 29 Mar 2010 05:39:58 -0700 (PDT) Message-ID: From: Alejandro Imass To: "Michael D. Norwick" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions Subject: Re: When do binaries get removed? 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: Mon, 29 Mar 2010 12:40:00 -0000 On Sun, Mar 28, 2010 at 9:03 PM, Michael D. Norwick wrote: > Good evening; > > I am using; > $uname -r > $8.0-RELEASE > under Sun VirtualBox 3.1.6. > > I am a long time Debian GNU/Linux user who has just installed the above > release. =A0I have installed and used FreeBSD in years past but that was > around the 5.x-RELEASE. =A0I have had a time installing applications from= the > ports tree (a story for another day) and finally resorted to installing > binaries from the install dvd to get the full working X distribution. =A0= I > wanted to start with the 'minimal' set of packages and build from there. = =A0At > the moment I have the distributed binaries installed and am > compiling/installing gcc 4.4 and friends. > I have the current FreeBSD handbook but it does not seem to have the answ= er > to the following question. > When building and installing an application from ports, how does the > original binary or script, in /usr/bin, /usr/lib, /usr/etc..., from the > distribution, get removed? =A0The make install foo command does not appea= r to > symlink the original application location to the new one in > /usr/local/whatever. =A0Does it even matter? > Hi Michael, I too come the Debian world, so here are some bullets that I've picked up along the way: 1) FBSD make a clean separation of 'base' from everything else. I personally think this is one of the greatest strengths of FBSD. You may have or need stuff from the ports that's already in the base but it doesn't matter, you can can have both versions. The base is /bin /usr/bin /lib /usr/lib, etc. and _everything else_ is /usr/local - when you upgrade the system this will make _a lot_ of sense. 2) There are certain things in base like sendmail for example that should not be deinstalled just de-activated via conf, other include bind, gcc, and several other things. There are many simple how-to's into installing things that 'compete' with base, at least for the more common things. 3) You can install binary packages or compile from the ports collection. Large bulky packages like Xorg, Gnome, KDE, OpenOffice are probably better installed from pre-compiled binaries with pkg_add, much the same way as aptitude in Debian. Besides, there is little customization and compiling options that are useful. But if you are installing Apache for example, it makes sense to install from the ports collection because you will get the chance to choose very specific compile time options and the binary will be optimized for your specific hardware. It doesn't matter if you install from ports or binaries, the package registration is common, so if you add with pckg_add you can remov from the ports directory and vice-versa. Best, Alejandro Imass > Thank You, > Michael D. Norwick > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" >