On Fri, Sep 21, 2001 at 02:04:35AM +0300, Shaul Karl wrote: > Quoting dpkg-deb man page: > > --fsys-tarfile > Extracts the filesystem tree data from a binary > package and sends it to standard output in tar for- > mat. Together with tar this can be used to extract > a particular file from a package archive. > > Can you advice the correct command line in order to have it extract > someHypotheticalFile?
I use: dpkg --fsys-tarfile foo.deb | tar xOf - filename | less The filename is usually of the form ./foo/bar/baz, but in packages dating from a year or two ago (some packages in potato, at least) it used to be of the form foo/bar/baz (no leading slash). -- Colin Watson [EMAIL PROTECTED]