Date: Mon, 27 Mar 2006 22:38:06 +1000 From: Norberto Meijome <freebsd@meijome.net> To: Duane Whitty <duane@greenmeadow.ca> Cc: freebsd-questions@freebsd.org Subject: Re: [Fwd: Re: package vs ports question] Message-ID: <20060327223806.54ea4b05@localhost> In-Reply-To: <4427C93B.2050805@greenmeadow.ca> References: <4427C93B.2050805@greenmeadow.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 27 Mar 2006 07:15:07 -0400 Duane Whitty <duane@greenmeadow.ca> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060327223806.54ea4b05>