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

Re: debian packages (was: alternative sgmltools?)




> Is there an easy way of extracting the files from deb pkgs?? Are
> they just a tarball with a wrapper around them??

Use ``file'', and find out yourself:

	% file textutils_1.22-2.4.deb
	textutils_1.22-2.4.deb: archive

"archive" means "use ar to massage":

	% ar tvf textutils_1.22-2.4.deb
	rw-r--r-- 0/0      4 Mar 16 05:14 1998 debian-binary
	rw-r--r-- 0/0    555 Mar 16 05:14 1998 control.tar.gz
	rw-r--r-- 0/0 304224 Mar 16 05:14 1998 data.tar.gz

PS: "file" under Debian knows what a deb archive is, that's one of the
uses of the tiny debian-binary file:

	% file textutils_1.22-2.4.deb
	textutils_1.22-2.4.deb: Debian binary package (format 2.0) created: Mon Mar 16 05:14:36 1998

/alessandro


--  
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]