info > DPKG-DEPCHECK

๐Ÿ“› NAME

dpkg-depcheck โ€” determine packages used to execute a command

๐Ÿš€ Quick Reference

Use CaseCommandDescription
๐Ÿ“ฆ Determine build dependencies for a Debian packagedpkg-depcheck -b debian/rules buildRuns debian/rules build under strace, outputs a Build-Depends list (excluding build-essential and essential packages)
๐Ÿ” List all packages used by any commanddpkg-depcheck --all commandReports every package accessed during command execution (default behaviour)
๐Ÿ“„ Minimal dependency set for a commanddpkg-depcheck -m commandOutputs only the minimal set of packages, accounting for direct dependencies (implies -d and -b)
๐Ÿ“ Show files accessed per packagedpkg-depcheck -l commandAlso list the specific files used from each package
๐ŸŒ Run with C localedpkg-depcheck -C commandForces the command to run in the C locale, useful for reproducible builds
โš™๏ธ Customise features (e.g., disable /usr/local warnings)dpkg-depcheck -f -warn-local commandDisables the warning about files in /usr/local or /var/local

๐Ÿ“‹ SYNOPSIS

dpkg-depcheck [options] command

๐Ÿ“– DESCRIPTION

This program runs the specified command under strace and then determines and outputs the packages used in the process. The list can be trimmed in various ways as described in the options below. A good example of this program would be the command dpkg-depcheck -b debian/rules build, which would give a good first approximation to the Build-Depends line needed by a Debian package. Note, however, that this does not give any direct information on versions required or architecture-specific packages.

โš™๏ธ OPTIONS

๐Ÿ”ง CONFIGURATION VARIABLES

The two configuration files /etc/devscripts.conf and ~/.devscripts are sourced in that order to set configuration variables. Command line options can be used to override configuration file settings. Environment variable settings are ignored for this purpose. The currently recognised variable is:

๐Ÿ“š SEE ALSO

dpkg(1), strace(1), devscripts.conf(5), update-alternatives(8)

๐Ÿ“„ COPYING

Copyright 2001 Bill Allombert <ballombe AT debian.org>. Modifications copyright 2002,2003 Julian Gilbey <jdg AT debian.org>. dpkg-depcheck is free software, covered by the GNU General Public License, version 2 or (at your option) any later version, and you are welcome to change it and/or distribute copies of it under certain conditions. There is absolutely no warranty for dpkg-depcheck.

dpkg-depcheck ยท March 2002 ยท DPKG-DEPCHECK(1)

DPKG-DEPCHECK
๐Ÿ“› NAME ๐Ÿš€ Quick Reference ๐Ÿ“‹ SYNOPSIS ๐Ÿ“– DESCRIPTION โš™๏ธ OPTIONS ๐Ÿ”ง CONFIGURATION VARIABLES ๐Ÿ“š SEE ALSO ๐Ÿ“„ COPYING

Generated by phpman v4.9.26-5-g7740029 Author: Che Dong Under GNU General Public License
2026-08-16 10:16 @2600:1f28:365:80b0:7cb9:fb:26c1:e368
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)
Valid XHTML 1.0 Transitional!Valid CSS!