OnWorks favicon

dpkg-depcheck - Online in the Cloud

Run dpkg-depcheck in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command dpkg-depcheck that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



dpkg-depcheck - determine packages used to execute a command


dpkg-depcheck [options] command


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.


-a, --all
Report all packages used to run command. This is the default behaviour. If used
in conjunction with -b, -d or -m, gives additional information on those packages
skipped by these options.

-b, --build-depends
Do not report any build-essential or essential packages used, or any of their
(direct or indirect) dependencies.

-d, --ignore-dev-deps
Do not show packages used which are direct dependencies of -dev packages used.
This implies -b.

-m, --min-deps
Output a minimal set of packages needed, taking into account direct dependencies.
Using -m implies -d and also -b.

-C, --C-locale
Run command with the C locale.

Don't change locale when running command.

-l, --list-files
Also report the list of files used in each package.

Do not report the files used in each package. Cancels a -l option.

-o, --output=FILE
Output the package diagnostics to FILE instead of stdout.

-O, --strace-output=FILE
Write the strace output to FILE when tracing command instead of using a temporary

-I, --strace-input=FILE
Get strace output from FILE instead of tracing command; strace must have be run
with the -f -q options for this to work.

-f, --features=LIST
Enable or disabled features given in the comma-separated LIST as follows. A
feature is enabled with +feature or just feature and disabled with -feature. The
currently recognised features are:
Warn if files in /usr/local or /var/local are used. Enabled by default.
Discards execve when only a --version argument is given to the program; this
works around some configure scripts that check for binaries they don't
actually use. Enabled by default.
Also try to identify files which are accessed in /usr/local and /var/local.
Not usually very useful, as Debian does not place files in these
directories. Disabled by default.
Warn about access to files controlled by the Debian alternatives mechanism.
Enabled by default.
Discards access to SGML catalogs; some SGML tools read all the registered
catalogs at startup. Files matching the regexp /usr/share/sgml/.*\.cat are
recognised as catalogs. Enabled by default.

--no-conf, --noconf
Do not read any configuration files. This can only be used as the first option
given on the command-line.

-h, --help
Display usage information and exit.

-v, --version
Display version and copyright information and exit.


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:

These are options which are parsed before the command-line options. For example,

DPKG_DEPCHECK_OPTIONS="-b -f-catch-alternatives"

which passes these options to dpkg-depcheck before any command-line options are
processed. You are advised not to try tricky quoting, because of the vagaries of
shell quoting!

Use dpkg-depcheck online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Strikr Free Software project. Artifacts
    released under a 'intent based'
    dual license: AGPLv3 (community) and
    CC-BY-NC-ND 4.0 international
    Download strikr
  • 3
    giflib is a library for reading and
    writing gif images. It is API and ABI
    compatible with libungif which was in
    wide use while the LZW compression
    algorithm was...
    Download GIFLIB
  • 4
    Alt-F provides a free and open source
    alternative firmware for the DLINK
    DNS-320/320L/321/323/325/327L and
    DNR-322L. Alt-F has Samba and NFS;
    supports ext2/3/4...
    Download Alt-F
  • 5
    Usm is a unified slackware package
    manager that handles automatic
    dependency resolution. It unifies
    various package repositories including
    slackware, slacky, p...
    Download usm
  • 6
    Chart.js is a Javascript library that
    allows designers and developers to draw
    all kinds of charts using the HTML5
    canvas element. Chart js offers a great
    array ...
    Download Chart.js
  • More »

Linux commands

  • 1
    a2j - Wrapper script to simulate
    a2jmidid's non-DBUS behaviour though
    a2jmidid actually being in DBUS mode ...
    Run a2j
  • 2
    a2jmidid - JACK MIDI daemon for ALSA
    MIDI ...
    Run a2jmidid
  • 3
    corebird - Native Gtk+ Twitter client
    for the Linux desktop. ...
    Run corebird
  • 4
    coredumpctl - Retrieve coredumps from
    the journal ...
    Run coredumpctl
  • 5
    ganyremote - GTK+ frontend for
    anyRemote ...
    Run ganyremotex
  • 6
    GAP - Groups, Algorithms and
    Programming DESCRIPTION: GAP is a system
    for computational discrete algebra with
    particular emphasis on computational
    group theory...
    Run gap
  • More »