Software package management tools under Debian Linux
dpkg-deb command is a software package management tool under Debian Linux. It can perform packaging and unpacking operations on software packages and provide software package information.
dpkg-deb(options)(parameters)
-c: Display the file list in the software package;
-e: Decompress the master control information;
-f: Print field contents to standard output;
-x: Release the files in the software package to the specified directory;
-X: Release the files in the software package to the specified directory and display the detailed process of releasing the files;
-w: Display package information;
-l: Display detailed information of the software package;
-R: Extract control information and archived manifest files;
-b: Create debian package.
File: Specify the full name or software name of the ".deb" software package to be operated.
Unzip the program file:
dpkg-deb -x drcom-pum_1.0-0ubuntu1~ppa1~jaunty1_i386.deb drcom
Unzip the control file:
dpkg-deb -e drcom-pum_1.0-0ubuntu1~ppa1~jaunty1_i386.deb drcom/DEBIAN
Package and generate deb files:
dpkg-deb -b drcom drcom_1.4.8.2_i386.deb
Query the file contents in the deb package:
dpkg-deb -c demo.deb