DEBCRAFT(1)
π DEBCRAFT π
okay bestie, welcome to DEBCRAFT(1) β manual section 1, the big leagues, the user commands section, and honestly? she ate. this is the page about Debcraft, and by the end of it you're gonna know exactly what she does.
β¨ NAME β¨
Debcraft β easy, fast and secure way to build Debian packages π
πΈ DESCRIPTION πΈ
so here's the whole vibe, and I'm gonna give it to you straight:
usage: debcraft <build|improve|test|release|update|shell|logs|prune>
[options] [<path|pkg|srcpkg|dsc|git-url>]
Debcraft is THE tool for building .deb packages without losing your entire mind. no cap.
and okay, the build argument? she's flexible, she's versatile, she's that girl. you can hand her literally any of these:
- a path to a directory with program sources, including a
debian/subdirectory containing the Debian packaging instructions - a path to a
.dscfile plus source tarballs, which can be built into a.deb - a Debian package name or source package name that
aptcan download - a git http(s) or ssh URL that can be downloaded and built
iconic range. π
now let's talk about the other commands, because she has range, periodt:
- the
improvecommand tries to apply various improvements to the package based on tools in Debian that automate package maintenance β¨ - the
testcommand runs the Debian-specific regression test suite if the package hasautopkgtestsupport β and if the tests fail to pass, she drops you into a shell for investigation π (she's not gonna leave you hanging) - the
releasecommand uploads a package that is ready to be released π - the
updatecommand tries to update the package to the latest upstream version β if the package git repository layout is compatible π¦ - the
shellcommand lets you explore the container, which is exactly as cute as it sounds π - the
prunecommand cleans up temporary files created by Debcraft π§Ή
and now the part you need to hear: in addition to the parameters listed below, anything passed in DEB_BUILD_OPTIONS will also be honored. successful builds include running ./debian/rules clean to clean up artifacts, while failed builds will leave them around for inspection. (the mess stays so you can investigate. honestly? valid.)
β οΈ important, bestie, do not skip this: Debcraft builds never run as root, and thus packages with DEB_RULES_REQUIRES_ROOT are not supported. no, you can't convince her. she said no. π
ββοΈ
π optional arguments π
every single one, no skips, let's go:
--build-dirs-pathβ path for writing build files and artifacts (default:~/.cache/debcraft)--distributionβ Linux distribution to build in (default:debian:sid)--container-commandβ container command to use (default:podman)--host-architectureβ host architecture to use when performing a cross build--skip-sourcesβ build only binaries and skip creating a source tarball to make the build slightly faster (debcraft buildonly) β‘--with-binariesβ create a release with both source and binaries, for example with the intent to upload to NEW (debcraft releaseonly)--pullβ ensure container base is updated--copyβ perform the build on a copy of the package directory--cleanβ ensure sources are clean before and after build (only needed for packages with incompletedebian/cleanordebian/.gitignoredefinitions)--extra-repositoryβ use directory as local package repository for builds--configβ path to debcraft configuration file--release-toβ after build or release, copy artefacts to specified dir--debugβ emit debug information-h,--helpβ display this help and exit π«Ά--versionβ display version and exit
want more? to learn more, or to contribute to Debcraft, see the project page at https://salsa.debian.org/debian/debcraft π
and to gain more Debian Developer knowledge, please read https://www.debian.org/doc/manuals/developers-reference/ and https://www.debian.org/doc/debian-policy/ β go off, future DD, you got this π
π and that's the page, bestie! this was Debcraft, manual section 1, and the footer says: Debcraft versionunknown: nei..., dated September 2026, from theDEBCRAFT(1)family. slay, bye! π β¨
π¦ where this page comes from
- ubuntu stonking: debcraft 0.9.4
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms