[Fwd: Re: package vs ports question]
Original Message Subject:Re: package vs ports question Date: Mon, 27 Mar 2006 07:57:04 -0300 From: Luiz Eduardo Guida Valmont [EMAIL PROTECTED] To: Duane Whitty [EMAIL PROTECTED] References: [EMAIL PROTECTED] [EMAIL PROTECTED] And I also have a question regarding this matter. :) When I installed FreeBSD (6.1-BETA4, though I don't think version makes any difference here), I chose User in one of initial screens (I can't remember which one that was now, sorry). That pre-selected a handfull of software to be installed. I have always used ports since FreeBSD was installed. But... Does the installation process install any package that may be overriden by any port? On 3/27/06, Duane Whitty [EMAIL PROTECTED] wrote: Huy Ton That wrote: I am curious, the key different between packages and ports are that packages are precompiled and ports are not? Am I erroneous in this statement? I'm a little confused as I have been always using make install clean from the ports and don't see the difference... Has anyone else had the same question? -Lee _ Hi, Your best bet is to read the handbook section on packages and ports. To answer your question though, yes packages are pre-built and ports need to be compiled, linked, etc from sources. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html --Duane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- []'s, Luiz Eduardo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [Fwd: Re: package vs ports question]
Duane Whitty wrote: Original Message Subject: Re: package vs ports question Date: Mon, 27 Mar 2006 07:57:04 -0300 From: Luiz Eduardo Guida Valmont [EMAIL PROTECTED] To: Duane Whitty [EMAIL PROTECTED] References: [EMAIL PROTECTED] [EMAIL PROTECTED] And I also have a question regarding this matter. :) When I installed FreeBSD (6.1-BETA4, though I don't think version makes any difference here), I chose User in one of initial screens (I can't remember which one that was now, sorry). That pre-selected a handfull of software to be installed. I have always used ports since FreeBSD was installed. But... Does the installation process install any package that may be overriden by any port? Hi, I am sorry but I do not understand what you are trying to ask. Are you asking if using the ports system will change any software you installed when you first installed FreeBSD? I want to make sure that myself and others who may try to answer your question understand what it is you are asking. Sincerely, --Duane On 3/27/06, Duane Whitty [EMAIL PROTECTED] wrote: Huy Ton That wrote: I am curious, the key different between packages and ports are that packages are precompiled and ports are not? Am I erroneous in this statement? I'm a little confused as I have been always using make install clean from the ports and don't see the difference... Has anyone else had the same question? -Lee _ Hi, Your best bet is to read the handbook section on packages and ports. To answer your question though, yes packages are pre-built and ports need to be compiled, linked, etc from sources. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html --Duane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- []'s, Luiz Eduardo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [Fwd: Re: package vs ports question]
On Mon, 27 Mar 2006 07:15:07 -0400 Duane Whitty [EMAIL PROTECTED] wrote: Does the installation process install any package that may be overriden by any port? yes. for example ,you select to install bash-3 from sysinstall ( the freebsd installer UI ). this reads and installs the package bash-3.x.y.z.tbz from somewhere in your selected setup origin (DVD / CD / FTP / NFS). I assume you would also install the ports collection and keep it up to date (keeping a system up to date without the actual ports collection in /usr/ports is , I guess, doable...though i've never done it, and I dont see why I would want to, unless i'm in dire need of space). Anyway, you update your ports, and you learn that bas-3.x.(y+1).b is out. You can now install this new version from a package by either: a) downloading the package by hand and using pkg_add /path/to/package/file b) portupgrade -PP bash Or you can install this from source, by doing either of: a) cd /usr/ports/shells/bash ; make install clean or b) portupgrade shells/bash The option I've been using lately is a mix of both - use the package if available (locally or from remote site); if not avail, build from source and generate a package (so I can reinstall as needed in other/same box): portupgrade -pP shells/bash or cd /usr/ports/shells/bash ; make ; make deinstall ; make package clean ( package generation doesnt work for ALL ports, but the vast majority would be ok. For example ,Adobe Acrobate cannot be redistributed in binary form, so a package cannot be generated. the process will still work) HIH, Beto ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]