Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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?

share|improve this question

marked as duplicate by Gilles, 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.

1 Answer 1

up vote 3 down vote accepted

Go to http://packages.debian.org/, go to the bottom of the page, 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.

share|improve this answer
4  
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.