DH_BUILDDEB(1)

✨ DH_BUILDDEB ✨

okay bestie, welcome to the dh_builddeb page β€” it's a Debhelper classic and honestly? lowkey iconic. πŸ’…


🌸 NAME 🌸

dh_builddeb β€” build Debian binary packages πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

dh_builddeb [debhelper options] [--destdir=directory] [--filename=name]
[-- params]

πŸ’– DESCRIPTION πŸ’–

so like, dh_builddeb literally just calls dpkg-deb(1) to build a Debian package or packages. that's the whole vibe. it will also build dbgsym packages when dh_strip(1) and dh_gencontrol(1) have prepared them for it. 🫢

it supports building multiple binary packages in parallel, when that's enabled by DEB_BUILD_OPTIONS. multitasking queen behavior, no cap.

when the Rules-Requires-Root field is not (effectively) binary-targets, dh_builddeb will pass --root-owner-group to dpkg-deb(1). periodt.


πŸ‘‘ OPTIONS πŸ‘‘

  • --destdir=directory β€” use this if you want the generated .deb files to land in a directory other than the default of "..". she'll pack her bags and move if you ask nicely πŸ’…
  • --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! 😭 one (1) name for multiple files is giving chaos bestie
  • -- params β€” pass params to dpkg-deb(1) when it's used to build the package. straight through, no middleman ✨
  • -uparams β€” this is another way to pass params to dpkg-deb(1). it is deprecated; use -- instead. it's giving legacy energy, we don't do that anymore πŸ™ˆ

πŸ”₯ SEE ALSO πŸ”₯

this program is a part of debhelper. she's not a solo artist, she's in a group 🎀


⭐ AUTHOR ⭐

Joey Hess <joeyh@debian.org> πŸ‘‘


and that's the whole page bestie, every flag accounted for, nothing skipped, we ate and left no crumbs πŸ“

bye babes! this was version 14.5ubuntu1, dated 2026-09-21 β€” mwah πŸ’œπŸ§š

πŸ“¦ where this page comes from