Skip to main content

Building a simple binary Debian DEB package HowTo

This brief HOWTO shows how a simple Debian DEB package file can be built. To keep it simple, various shortcuts have been taken and assumptions have been made.

  • The package will be usable for the i386 architecture only.
  • The source code will not be available (e.g. via apt-get source). This means that the package will be non-free.
  • The Debian Policy will not be adhered to. This means that the package will not be accepted into the official Debian archive.
  • By building a binary package, all the files must have permissions and ownerships that match the intended permissions and ownerships. Thus, all steps are expected to be run under the root account.
Classifications