Steps of a Build Sequence

Learn about the steps within a build sequence for building a Debian package.

Build steps

The build, install, and binary phases of the build sequence are subdivided into sequences called build-indep, build-arch, install-indep, install-arch, binary-indep, and binary-arch. When a package with all architecture is being built, the -indep versions are executed. Otherwise, the -arch variants are run. In source packages that produce multiple binary packages, some of which are of the all architecture and some of which are architecture specific, this distinction can be used to override some steps with custom actions for only one of the variants.

Get hands-on with 1200+ tech skills courses.