Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Mar 2001 21:52:29 -0600
From:      Mike Meyer <mwm@mired.org>
To:        "Siegbert Baude" <Siegbert.Baude@gmx.de>
Cc:        questions@freebsd.org
Subject:   Re: ports information & removal
Message-ID:  <15026.57213.91509.210239@guru.mired.org>
In-Reply-To: <49608073@toto.iv>

next in thread | previous in thread | raw e-mail | index | archive | help
Siegbert Baude <Siegbert.Baude@gmx.de> 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.

	<mike
--
Mike Meyer <mwm@mired.org>			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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15026.57213.91509.210239>