Re: Extract one file from .deb?
Qian Gong wrote:
> Hi,
>
> Is it possible to extract only one specified file from a deb package? I
> changed one configuration file and want to compare it with the original
> one.
>
> Thanks a lot in advance,
>
> Qian
To list the contents of a .deb file:
ar -t foo.deb
To unpack a .deb file:
ar -x foo.deb
Then use standard tar -xzf on the files inside, which are:
debian-binary
control.tar.gz
data.tar.gz
Note: the file debian-binary is a text file, containing the text '2.0'
probably the revision of the .deb format?
--
Cheers!
.~.
/V\
// \\
/( )\
^`~´^
< hugge >
Reply to: