Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jan 2008 18:34:49 -0500
From:      Mike Meyer <mwm-keyword-freebsdhackers2.e313df@mired.org>
To:        KAYVEN RIESE <kayve@sfsu.edu>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: FreeBSD hacker 101
Message-ID:  <20080126183449.5086079e@bhuda.mired.org>
In-Reply-To: <Pine.SOC.4.64.0801261222580.7597@libra.sfsu.edu>
References:  <84a208a0801232306k6a34134aqd549a1ba2160fe41@mail.gmail.com> <4798479B.9030406@delphij.net> <Pine.SOC.4.64.0801241524130.25709@libra.sfsu.edu> <20080124185522.23ca743f@bhuda.mired.org> <864pd15163.fsf@ds4.des.no> <Pine.SOC.4.64.0801251142300.28096@libra.sfsu.edu> <86hch0pqhl.fsf@ds4.des.no> <Pine.SOC.4.64.0801261222580.7597@libra.sfsu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 26 Jan 2008 12:24:36 -0800 (PST) KAYVEN  RIESE <kayve@sfsu.edu> wro=
te:

> On Sat, 26 Jan 2008, Dag-Erling Sm=C3=B8rgrav wrote:
>=20
> > KAYVEN  RIESE <kayve@sfsu.edu> writes:
> >> i don't recognize that as what i said, but i was trying to make the
> >> point that BSD DOESn't use rpm compression, and that was a point i
> >> was trying to make in terms of comparison/contrast
> >
> > I'm not sure what you mean by "rpm compression", since rpm is not a
> > compression algorithm but a set of tools and a file format (based on
> > gzipped cpio archives) used by those tools.
>=20
> gzip is compression.  okay it is an archiver. =20

Right the first time. gzip has no ability to deal with an archive as
anything but a byte stream.

> all i know is that
> standard old boys unix uses *.tgz which is a mix of compression
> and archiving with tar.  i have only encountered rpm sporatically
> because i have not done a lot of linux, but i know that when you
> enounter a package to be installed it seemed to me *.rpm is an
> alternative to *.tgz

.tgz (and the later .tbz variant) is the dominant format for
platform-independent archives on Unix-like systems, so I'd expect
anyone who claims to be competent in that space to be able to deal
with them. (FreeBSD's pkg* tools extends it in a backwards-compatible
manner by adding "magic" files, but the resulting tarballs work fine
on other systems).

.rpm is a package format, and comes with a tool set for using it. Most
(all?) GNU/Linux systems come with tools for dealing with it, but they
all also come with tools for dealing with .tgz. Some GNU/Linux distros
use .rpm to distribute their software, but not all do. I don't think
any Unix systems have adopted it; most of them have packaging systems
that predate .rpm, and they're all different. Different package
formats for vendor software isn't a GNU/Linux vs. FreeBSD or Unix
thing, it's a fact of line in a multi-platform Unix environment.

       <mike
--=20
Mike Meyer <mwm@mired.org>		http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.



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