Name

dpkg-deb

Synopsis

dpkg-deb action [options]

Backend command for building and managing Debian package archives. Also see dpkg; you’ll often want to use dpkg to pass commands through to dpkg-deb, rather than call dpkg-deb directly.

Actions

-bdir[archive], --builddir[archive]

Create an archive from the filesystem tree starting with directory dir. The directory must have a DEBIAN subdirectory containing the control file and any other control information. If archive is specified and is a filename, the package is written to that file; if no archive is specified, the package is written to dir .deb. If the archive already exists, it is replaced. If archive is the name of a directory, dpkg-deb looks in the control file for the information it needs to generate the package name. (Note that for this reason, you cannot use --nocheck with a directory name.)

-carchive, --contentsarchive

List the filesystem-tree portion of archive.

-earchive[dir], --controlarchive[dir]

Extract control information from archive into the directory dir, which is created if it doesn’t exist. If dir is omitted, a DEBIAN subdirectory in the current directory is used.

-farchive[control-fields], --fieldarchive[control-fields]

Extract information about one or more fields in the control file for archive. If no fields are provided, print the entire control file.

-h, --help

Print help information and exit.

-Iarchive[control-files], --infoarchive[control-files]

Write information about binary package archive to standard output. If no control ...

Get Unix in a Nutshell, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.