---
name: "dh_builddeb"
section: "1"
platform: "linux"
package: "debhelper"
version: "13.24.2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/dh_builddeb"
---

# dh\_builddeb(1)

build Debian binary packages

## NAME

dh\_builddeb - build Debian binary packages

## SYNOPSIS

**dh\_builddeb** \[*debhelper options*\] \[**--destdir=***directory*\] \[**--filename=***name*\] \[**--** *params*\]

## DESCRIPTION

**dh\_builddeb** simply calls [**dpkg-deb**(1)](/dpkg-deb/1.md) to build a Debian package or packages.  It will also build dbgsym packages when [**dh\_strip**(1)](/dh_strip/1.md) and [**dh\_gencontrol**(1)](/dh_gencontrol/1.md) have prepared them.

It supports building multiple binary packages in parallel, when enabled by DEB\_BUILD\_OPTIONS.

When the *Rules-Requires-Root* field is not (effectively) *binary-targets*, **dh\_builddeb** will pass **--root-owner-group** to [**dpkg-deb**(1)](/dpkg-deb/1.md).

## OPTIONS

- **--destdir=***directory*

  Use this if you want the generated *.deb* files to be put in a directory other than the default of "*..*".

- **--filename=***name*

  Use this if you want to force the generated .deb file to have a particular file name. Does not work well if more than one .deb is generated!

- **--** *params*

  Pass *params* to [**dpkg-deb**(1)](/dpkg-deb/1.md) when it is used to build the package.

- **-u***params*

  This is another way to pass *params* to [**dpkg-deb**(1)](/dpkg-deb/1.md). It is deprecated; use **--** instead.

## SEE ALSO

[**debhelper**(7)](/debhelper/7.md)

This program is a part of debhelper.

## AUTHOR

Joey Hess \<joeyh@debian.org\>
