Created
October 26, 2017 07:10
-
-
Save dlamblin/3b5ccd5225031eeddbc8dc7add7aaf79 to your computer and use it in GitHub Desktop.
Extract a deb's files on Mac OS with tar
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tar -xOf $1 data.tar.xz |tar -tv |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tar -xOzf $1 data.tar.xz |tar -x |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Other contents are:
debian-binary and control.tar.gz
the first contains a version like
2.0
, the second, the following files:control
, metadata lines Package, Version, Architecture, Mainainer, Installed-Size, Recommends, Section, Priority, Multi-Arch, Descriptionmd5sums
, some of the files' md5 sums7b7b7d773a5c4d0add7e9dfcd728e97c usr/bin/run-mailcap
triggers
, list of some directories or somethinginterest-noawait /usr/share/applications
conffiles
, a list of files that are configuration filesprerm
, a pre removal scriptpostinst
, a post installation script