Linux command
debuild 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Build package in current directory
debuild
Build binary package only
debuild -b
Build source package only
debuild -S
Build without signing
debuild -us -uc
Build with parallel jobs
debuild -j[4]
Build without running lintian
debuild --no-lintian
说明
debuild builds Debian packages from source. It's a wrapper around dpkg-buildpackage that adds additional features like automatic lintian checking and proper environment setup. Run from a Debian source package directory containing debian/control and other packaging files.
参数
- -b
- Build binary package only
- -S
- Build source package only
- --no-lintian
- Skip lintian checks after build
- -us
- Don't sign source package
- -uc
- Don't sign changes file
- -j _n_
- Parallel build with n jobs
FAQ
What is the debuild command used for?
debuild builds Debian packages from source. It's a wrapper around dpkg-buildpackage that adds additional features like automatic lintian checking and proper environment setup. Run from a Debian source package directory containing debian/control and other packaging files.
How do I run a basic debuild example?
Run `debuild` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -b do in debuild?
Build binary package only