From owner-freebsd-questions Fri Mar 16 19:52:33 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id C633A37B718 for ; Fri, 16 Mar 2001 19:52:30 -0800 (PST) (envelope-from mwm@mired.org) Received: (qmail 6749 invoked by uid 100); 17 Mar 2001 03:52:29 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15026.57213.91509.210239@guru.mired.org> Date: Fri, 16 Mar 2001 21:52:29 -0600 To: "Siegbert Baude" Cc: questions@freebsd.org Subject: Re: ports information & removal In-Reply-To: <49608073@toto.iv> X-Mailer: VM 6.89 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Siegbert Baude types: > > While on the subject of packages/ports, is the RPM methodology analogous > > to FBSD's port or package system? Tia... > You can get both sources and binaries in RPM-format. The normal way for most > modern distributions seems to be spreading binaries. FreeBSD's packages can also be used to distribute and install sources - that's what those that do nothing but scripts do. Some ports don't fetch sources to install, but fetch binaries. > I think there would be the possibility with some post-install scripts to > automatically start compilation and installation for source RPMs; but Linux > people downloading source tarballs, tend to do this by hand. The real difference between ports and packages is that ports will grab the original, and make it conform to your system Configuration before installation - which step usually includes compiling. Packages have already done that. While pkg_add has a flag to set the prefix, the port was built with the a prefix of /usr/local, so the installed binaries may not work, even in a port that's otherwise PREFIX clean. I don't have enough experience with rpms, but what little I have suggests they are primarily used to install things that have been pre-configured for location, type of CPU, etc. This would make them akin to packages, not ports. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message