Re: RPMs :o(

Peter Horton (pdh@berserk.demon.co.uk)
Tue, 19 May 1998 23:54:40 +0100 (BST)


On Tue, 19 May 1998, Alex Buell wrote:

> I've just been given a .RPM - no tar.gz packages available :o( Is there a
> rpm to tar.gz converter out there?

RPMs are basically gzipped cpio archives with a header.

If you search the file for the byte 0x1f followed by 0x8b (these bytes
mark a gzip file) and remove everything that precedes them, you will be
left a gzipped cpio archive, which you can then unzip and unpack.

P.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu