Debian Package Building

June 2014


Table of Contents

dpkg-buildpackage
debuild
pdebuild
Cowbuilder
Git-Buildpackage

The simplest way to build a package.

  1. Fetch some source package

  2. Try to build

  3. Retry after installing build-time dependencies

    (There's often some trickery involved in building packages. The '-d' option is to prevent bash from choking on 'gettext:any', which is listed as a dependency, but satisfied by 'gettext'.)

  4. Finding the package

There are some intersting options to dpkg-buildpackage: