commands.sh

dpkg-deb

linux

Pack, unpack, and provide information about Debian archives.

More info →

Options (5)

-I, --infoboolean

Display information about a package

Example: dpkg-deb {{[-I|--info]}} {{path/to/file.deb}}
-W, --showboolean

Display the package's name and version on one line

Example: dpkg-deb {{[-W|--show]}} {{path/to/file.deb}}
-c, --contentsboolean

List the package's contents

Example: dpkg-deb {{[-c|--contents]}} {{path/to/file.deb}}
-x, --extractboolean

Extract package's contents into a directory

Example: dpkg-deb {{[-x|--extract]}} {{path/to/file.deb}} {{path/to/directory}}
-b, --buildboolean

Create a package from a specified directory

Example: dpkg-deb {{[-b|--build]}} {{path/to/directory}}

Examples (5)

Display information about a package

dpkg-deb [-I|--info] path/to/file.deb

Display the package's name and version on one line

dpkg-deb [-W|--show] path/to/file.deb

List the package's contents

dpkg-deb [-c|--contents] path/to/file.deb

Extract package's contents into a directory

dpkg-deb [-x|--extract] path/to/file.deb path/to/directory

Create a package from a specified directory

dpkg-deb [-b|--build] path/to/directory
made by @shridhargupta | data from tldr-pages