[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [debian-knoppix] Difference beetween .deb / .tar.gz



On Sun, 20 Jul 2003 09:09:26 -0400
John Culleton <john@wexfordpress.com> wrote:

> As a long time Slackware user I prefer the simple gzipped tar format because 
> it is universal. But other formats have their advocates. And I am sure some
> Debian aficionado will expound on the merits of DEB format if asked.  
> 

AFAIK .deb packages are compressed with "ar". i.e:

$ ar x amsn_0.70-1_all.deb
$ ls
amsn_0.70-1_all.deb  control.tar.gz  data.tar.gz  debian-binary
$ tar tzvf control.tar.gz ./
drwxr-xr-x root/root         0 2002-11-26 14:34:01 ./
-rwxr-xr-x root/root       173 2002-11-26 14:34:00 ./postinst
-rwxr-xr-x root/root      1001 2002-11-26 14:34:00 ./prerm
-rwxr-xr-x root/root       160 2002-11-26 14:34:00 ./postrm
-rw-r--r-- root/root        38 2002-11-26 14:34:00 ./conffiles
-rw-r--r-- root/root      9451 2002-11-26 14:34:01 ./md5sums
-rw-r--r-- root/root       525 2002-11-26 14:34:01 ./control

it's an "ar" archive with one tarball for debian control files and another tarball for
program data

> The sad part is, many people don't realize that you can unpack a gz file on a 
> Debian machine, unpack an RPM on a Slackware machine etc.  
> 
> John Culleton
> 
> _______________________________________________
> debian-knoppix mailing list
> debian-knoppix@linuxtag.org
> http://mailman.linuxtag.org/mailman/listinfo/debian-knoppix


-- 
"La guerra preventiva es un invento de Adolfo Hitler, francamente yo no me tomaria en
serio a nadie que me viniera a proponer una cosa semejante"
Dwight EisenHower - Presidente americano

Jorge Bernal (aka Koke)

Attachment: pgp6PH8TXNHAL.pgp
Description: PGP signature


Reply to: