LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

debuild

build Debian packages from source

TLDR

Build package in current directory
$ debuild
copy
Build binary package only
$ debuild -b
copy
Build source package only
$ debuild -S
copy
Build without signing
$ debuild -us -uc
copy
Build with parallel jobs
$ debuild -j[4]
copy
Build without running lintian
$ debuild --no-lintian
copy

SYNOPSIS

debuild [options] [dpkg-buildpackage options]

DESCRIPTION

debuild builds Debian packages from source. It's a wrapper around dpkg-buildpackage that adds additional features like automatic lintian checking and proper environment setup.Run from a Debian source package directory containing debian/control and other packaging files.

PARAMETERS

-b

Build binary package only
-S
Build source package only
--no-lintian
Skip lintian checks after build
-us
Don't sign source package
-uc
Don't sign changes file
-j n
Parallel build with n jobs

CONFIGURATION

~/.devscripts

Default debuild options including lintian settings and build behavior.

CAVEATS

Must be run from a properly configured Debian source directory. Build dependencies must be installed. Part of devscripts package.

SEE ALSO

Copied to clipboard
Kai