Possible Duplicate:
How to find out which (not installed) package a file belongs to?

The wish is to install hd-idle on a bare Debian 6.0.6 installation.

For installation the hd-idle documentation instructs:

Run "dpkg-buildpackage -rfakeroot"

However trying to run that command results in:

root@debian:/tmp/hd-idle# dpkg-buildpackage -rfakeroot
-bash: dpkg-buildpackage: command not found

How to fix this missing dpkg-buildpackage?


Go to http://packages.debian.org/, go to the bottom of the page (titled Search the contents of packages), select your version of Debian, enter dpkg-buildpackage as the keyword and click search. That will tell you which package to install to get the dpkg-buildpackage command.

  • 10
    dpkg-dev is the resulting package name.
    – Pro Backup
    Dec 16 '12 at 18:07

Not the answer you're looking for? Browse other questions tagged or ask your own question.