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

Re: dpkg: can a single file be extracted?



On Sun, 28 Apr 1996, Alan Eugene Davis wrote:

> I needed only one *.el from emacs-el-19.30.  In trying to get at this
> one file, it was necessary to extract the (about) 10MB of the package
> into a temporary directory.  I tried dpkg-deb --fsys-tarfile, but this
> just seemed to extract the contents of the tar file to standard
> output.  It would have helped to have been able to extract a file, as
> one can do with tar files.  

dpkg --fsys-tarfile package.deb | tar xf - filename

...ought to do the trick.

Steve Early
sde1000@cam.ac.uk


Reply to: