[vox-tech] extract contents of deb package

Brian Lavender brian at brie.com
Sun Aug 24 12:36:46 PDT 2008


On Sat, Aug 23, 2008 at 08:21:57PM -0700, Troy Arnold wrote:
> On Sat, Aug 23, 2008 at 07:28:10PM -0700, Brian Lavender wrote:
> > How do I extract the contents of a deb package? I tried 
> > 
> > dpkg-deb -x . ossim-server_0.9.9-3_i386.deb
> > dpkg-deb: error reading version number from file .: Is a directory
> > 
> > Seems like this is what it ought to be from the man page, but it doesn't
> > work.
> 
> The man page has:
> -x|--extract <deb> <directory>
> 
> So to extract to the current directory:
> $ dpkg-deb -x ossim-server_0.9.9-3_i386.deb .
> 
> However, if you want the control files too, unarchive the deb with
> /usr/bin/ar 
> $ ar x ossim-server_0.9.9-3_i386.deb

Thanks for clarifying my momentary dylseixa. :)

brian
-- 
Brian Lavender
http://www.brie.com/brian/


More information about the vox-tech mailing list