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

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • 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. How to Check the Size of the Yum Channels in Oracle Linux
  2. blight Command Examples in Linux
  3. How to Increase the File Download Size Limit in Apache
  4. DNS configuration file /etc/named.conf explained
  5. jarsigner: command not found
  6. CentOS / RHEL 7 : How to start / Stop or enable / disable Firewalld
  7. id: command not found
  8. latte-dock: command not found
  9. Linux Interview Questions : Open Files / Open File Descriptors
  10. dbus-daemon Command Examples in Linux

You May Also Like

Primary Sidebar

Recent Posts

  • nixos-rebuild Command Examples in Linux
  • nixos-option: Command Examples in Linux
  • nixos-container : Command Examples in Linux
  • nitrogen Command Examples in Linux

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright