From owner-freebsd-questions@FreeBSD.ORG Mon Mar 27 13:20:15 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6F87D16A400 for ; Mon, 27 Mar 2006 13:20:15 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.FreeBSD.org (Postfix) with ESMTP id C2C7C43D5A for ; Mon, 27 Mar 2006 13:20:14 +0000 (GMT) (envelope-from freebsd@meijome.net) Received: (qmail 11182 invoked from network); 27 Mar 2006 23:20:14 +1000 Received: from 210-84-39-124.dyn.iinet.net.au (HELO localhost) (210.84.39.124) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 27 Mar 2006 23:20:13 +1000 Date: Mon, 27 Mar 2006 23:20:08 +1000 From: Norberto Meijome To: "Luiz Eduardo Guida Valmont" Message-ID: <20060327232008.21b9113f@localhost> In-Reply-To: <97be9bec0603270457j5f239ac1g5f2c865c6946ac4a@mail.gmail.com> References: <4427C93B.2050805@greenmeadow.ca> <20060327223806.54ea4b05@localhost> <97be9bec0603270455t7593d9c3o6741f58d6e762cb6@mail.gmail.com> <97be9bec0603270457j5f239ac1g5f2c865c6946ac4a@mail.gmail.com> X-Mailer: Sylpheed-Claws 2.0.0 (GTK+ 2.8.16; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Fwd: package vs ports question 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, 27 Mar 2006 13:20:15 -0000 On Mon, 27 Mar 2006 09:57:49 -0300 "Luiz Eduardo Guida Valmont" wrote: > Thanks for the answer. I just hope I'm not messing things too much. np :) > > So if a port may override a package, a port and a package are the same thing, in a different form :). the tree structure under /usr/ports contains information about applications ported to Freebsd. This information is used to compile each application as needed for FBSD. You can do this yourself, therefore "installing it from the ports". Or you can use the binary output of that compilation that someone else did, and which is provided to you in the form of a package. You may want to , like I do, have a binary installer of the apps you are running, which is why I mentioned how you create, from the ports, your own packages (remember, 'package' = 'binary result of building/compiling a port'). ( if someone wants to clarify my explanation, PLEASE go ahead :) ) > is the only solution to this > generate a package then install it? no > Now if this happens, what will > happen for example (supposing I install everything from packages - or > "make package" then pkg_add for that matter) make package will actually make the package and install it for you, you dont need to do a pkg_add after that (yes, a bit counter-intuitive, but really handy) > when I install Adobe > Acrobat? Are all its dependancies going to be installed as well? yes, that's the beauty of using portinstall or portupgrade instead of pkg_add (I think pkg_add resolves dependencies, but not as cleverly/well as portinstall / portupgrade) > I > mean, ports doesn't "know" which packages were installed by pkg_add, > which is how I suppose those packages are installed. Sorry if I cannot > make myself clear enough, but there's still the fog that blinds > newbies like me. :) > > Is it possible to generate packages for all the dependancies? Does > "make package" do this for all packages for which a package can be > created? I hope I won't need to reinstall them but you know... you > never know. :) portinstall -pP [section/port] will do this for you for 'port' and all its build and run dependencies. hasta luego, Beto