• 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 Examples in Linux

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.

debuild Command Examples

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. mons Command Examples in Linux
  2. Linux OS Service ‘lm_sensors’
  3. aa-enforce: command not found
  4. mkinitcpio Command Examples in Linux
  5. “cannot install the best update candidate for package” – error on running dnf update
  6. How to Setup SSH keys for “passwordless” SSH Login on CentOS/RHEL
  7. sftp: command not found
  8. How to install and configure VNC Server on CentOS/RHEL 8
  9. Linux rsync command with practical examples
  10. How to uninstall neovim from Ubuntu

You May Also Like

Primary Sidebar

Recent Posts

  • powertop Command Examples in Linux
  • powertop: command not found
  • powerstat: command not found
  • powerstat Command Examples in Linux

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright