Debcraft is a command-line tool for creating Debian packages, the traditional software format for Debian-based Linux distributions. It makes it simpler for developers to rapidly build and iterate on packages that comply with Debian packaging policies. It has YAML build configuration syntax including expressions for multiple architectures, automatically populates Debian manifest files, and manages build containers on its own.
Debcraft stores its build configuration in a project file called debcraft.yaml.
From the root of the upstream source, Debcraft creates a minimal debcraft.yaml with:
debcraft initAfter you add all your project's build and runtime details to the project file, bundle
your project into a .deb file with:
debcraft packInstall the latest development version with:
snap install debcraft --classic --edgeThere is yet to be any documentation for Debcraft as it is in early design.
Ask your questions about Debcraft and what's on the horizon, and see who's working on what in the Debcraft Matrix channel.
You can report any issues or bugs on the project's GitHub repository.
Debcraft is covered by the Ubuntu Code of Conduct.
Debcraft is open source and part of the Canonical family. We would love your help.
If you're interested, start with the contribution guide.
We welcome any suggestions and help with the docs. The Canonical Open Documentation Academy is the hub for doc development, including Debcraft docs. No prior coding experience is required.
Debcraft is released under the GPL-3.0 license.
© 2025 Canonical Ltd.