info > BUILD-RDEPS

🏷️ NAME

build-rdeps - find packages that depend on a specific package to build (reverse build depends)

πŸš€ Quick Reference

Use CaseCommandDescription
Find reverse build dependenciesbuild-rdeps packageSearch all packages that build-depend on the specified package.
Update package lists before searchbuild-rdeps -u packageRun apt-get update before searching.
Use sudo with updatebuild-rdeps -s -u packageUse sudo when running apt-get update.
Search in a specific distributionbuild-rdeps --distribution=dist packageSelect another distribution to search.
Ignore non‑free componentsbuild-rdeps --only-main packageOnly consider the main component.
Print maintainer fieldbuild-rdeps -m packagePrint the maintainer for each package found.

πŸ“‹ SYNOPSIS

build-rdeps package

πŸ“– DESCRIPTION

build-rdeps searches for all packages that build-depend on the specified package.

The default behaviour is to just grep for the given dependency in the Build-Depends field of apt's Sources files.

If the package dose-extra >= 4.0 is installed, then a more complete reverse build dependency computation is carried out. In particular, with that package installed, build-rdeps will find transitive reverse dependencies, respect architecture and build profile restrictions, take Provides relationships, Conflicts, Pre-Depends, Build-Depends-Arch and versioned dependencies into account and correctly resolve multiarch relationships for crossbuild reverse dependency resolution. (This tends to be a slow process due to the complexity of the package interdependencies.)

βš™οΈ OPTIONS

πŸ“¦ REQUIREMENTS

The tool requires apt Sources files to be around for the checked components. In the default case this means that in /var/lib/apt/lists files need to be around for main, contrib and non-free.

In practice this means one needs to add one deb-src line for each component, e.g.:

deb-src http://<mirror>/debian <dist> main contrib non-free

and run apt-get update afterwards or use the --update option of this tool.

πŸ“œ LICENSE

This code is copyright by Patrick Schoenfeld <schoenfeld AT debian.org>, all rights reserved. This program comes with ABSOLUTELEY NO WARRANTY. You are free to redistribute this code under the terms of the GNU General Public License, version 2 or later.

πŸ‘€ AUTHOR

Patrick Schoenfeld <schoenfeld AT debian.org>

Debian Utilities 2026-03-04 BUILD-RDEPS(1)

BUILD-RDEPS
🏷️ NAME πŸš€ Quick Reference πŸ“‹ SYNOPSIS πŸ“– DESCRIPTION βš™οΈ OPTIONS πŸ“¦ REQUIREMENTS πŸ“œ LICENSE πŸ‘€ AUTHOR

Generated by phpman v4.9.26-5-g7740029 Author: Che Dong Under GNU General Public License
2026-08-14 21:03 @2600:1f28:365:80b0:4d23:66fa:c2bb:7bae
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)
Valid XHTML 1.0 Transitional!Valid CSS!