Re: extract only PART of an archive
Brian K Servis <servis@ecn.purdue.edu> writes:
> Will Lowe writes:
> >I need to extract JUST ONE of the files in a .deb ....
>
> The only way I know is to use ar to pull the data.tar.gz from the .deb
> and then untar the file from that.
>
> [...]
>
> There may be others?
The 'official' way to do this is:
dpkg-deb --fsys-tarfile | tar xvf - <filename>
It's basically the same as the method you listed, but makes fewer
assumptions about the format of the .deb file.
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: