How to extract deb package
Debian packages are regular ar102 archives. They contains three files:
You have to provide directory for unpack at the last parameter of the command.
When command finished, you will see the deb package contents in
- debian-binary: regular text file, contains the version of the deb package format
- control.tar.gz: compressed file, contains file md5sums and control directory for the deb package
- data.tar.gz: compressed file, contains all the files which will be installed
ar x example.deb
If you are using a Debian based distribution or you have dpkg installed, you can also use dpkg to extract/unpack deb package without installing in your system:dpkg -x package.deb /tmp/out
If you are using a Debian based distribution or you have dpkg installed, you can also use dpkg to extract/unpack deb package without installing in your system:dpkg -x package.deb /tmp/out
You have to provide directory for unpack at the last parameter of the command.
When command finished, you will see the deb package contents in
/tmp/out
directory.
Comments
Post a Comment
Thanks for comment & Do share.