From owner-freebsd-questions@FreeBSD.ORG Thu Jun 10 15:18:52 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 93A721065675 for ; Thu, 10 Jun 2010 15:18:52 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp01.sth.basefarm.net (ch-smtp01.sth.basefarm.net [80.76.149.212]) by mx1.freebsd.org (Postfix) with ESMTP id 5105D8FC18 for ; Thu, 10 Jun 2010 15:18:51 +0000 (UTC) Received: from c83-255-61-120.bredband.comhem.se ([83.255.61.120]:54221 helo=falcon.midgard.homeip.net) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.71) (envelope-from ) id 1OMjWk-0000CQ-4w for freebsd-questions@freebsd.org; Thu, 10 Jun 2010 17:18:44 +0200 Received: (qmail 13248 invoked by uid 1001); 10 Jun 2010 17:18:41 +0200 Date: Thu, 10 Jun 2010 17:18:41 +0200 From: Erik Trulsson To: Antonio Vieiro Message-ID: <20100610151841.GA13235@falcon.midgard.homeip.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-Originating-IP: 83.255.61.120 X-Scan-Result: No virus found in message 1OMjWk-0000CQ-4w. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1OMjWk-0000CQ-4w ab72080141ebed9f25aa80d4d48cd9fd Cc: freebsd-questions@freebsd.org Subject: Re: Question on packages and ports (and versions) 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: Thu, 10 Jun 2010 15:18:52 -0000 On Thu, Jun 10, 2010 at 04:58:56PM +0200, Antonio Vieiro wrote: > Hi all, > > I can't find an answer to this question, so I decided to post here. > Since I'm not very good at english let me ask this with an example. > > I assume that packages and ports may have different versions of the > same software (am I right?) so, for instance, if you install gnome > with packages you can have a certain "glib" version (say 1.0), but if > you install gnome with ports you can have a more recent "glib" version > (say 1.1). > > Now my question is, am I right on this assumption? If so, may I have > those two versions installed at the same time (from a package and a > port)? How does software from packages and ports interfere each other? > > Does software installed from packages live in different directories > than software installed from ports? If not, how does FreeBSD select > one over the other? A package is best seen as simply a pre-compiled port, i.e. packages are built from ports. After it has been installed there is no difference between software installed via ports or software installed via packages. -- Erik Trulsson ertr1013@student.uu.se