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?

marked as duplicate by Gilles 'SO- stop being evil', Renan, Michael Mrozek Dec 17 '12 at 2:12

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


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.

  • 5
    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.