• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • VCS
  • Interview Questions
  • Database
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

debuild: command not found

by Deepika

debuild is a command line tool in Linux that is used to build Debian packages from source code. It is typically used by package maintainers to create binary packages from the source code of a Debian package. debuild is a wrapper script for the dpkg-buildpackage command and provides additional functionality for building packages with different options.

If you encounter the below error while running the command debuild:

debuild: command not found

you may try installing the below package as per your choice of distribution:

Distribution Command
Debian apt-get install devscripts
Ubuntu apt-get install devscripts
Kali Linux apt-get install devscripts
Fedora dnf install devscripts
Raspbian apt-get install devscripts

debuild Command Examples in Linux

1. Build the package in the current directory:

# debuild

2. Build a binary package only:

# debuild -b

3. Do not run lintian after building the package:

# debuild --no-lintian

4. The typical command line options to build only the binary package(s) without signing the .changes file (or the non-existent .dsc file):

# debuild -i -us -uc -b

Change the -b to -S to build only a source package.

5. An example using lintian to check the resulting packages and passing options to it:

# debuild --lintian-opts -i

Filed Under: Linux

Some more articles you might also be interested in …

  1. rc-update Command Examples in Linux
  2. Basic Linux File system tutorial – ext2, ext3, ext4, JFS and XFS
  3. asar – A file archiver for the Electron platform (Command Examples)
  4. licensor Command Examples
  5. CentOS / RHEL 6 : How to completely remove device mapper multipath (dm-multipath)
  6. CentOS / RHEL : iptables troubleshooting guide
  7. dolt blame: Displays commit information for each row of a Dolt table
  8. gist: Upload code to https://gist.github.com
  9. How to find the mounting options of currently mounted filesystem
  10. userdel: command not found

You May Also Like

Primary Sidebar

Recent Posts

  • Vanilla OS 2 Released: A New Era for Linux Enthusiasts
  • mk Command Examples
  • mixxx Command Examples
  • mix Command Examples

© 2025 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright