How to extract a deb package without installing

Debian packages are regular ar archives. They contains three file:

  • debian-binary: regular text file, contains deb packaging version
  • control.tar.gz: compressed file, contains control and md5sums
  • data.tar.gz: compressed file, contains all the files which will be installed

To extract a .deb ar archive you can use:

ar x example.deb





You must be login first or sign-up for an account to post comments.

Maybe you should look at these also: