debaux-build command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
debaux-build: command not found
or when using sudo you get the following error message
sudo: debaux-build: command not found
Solutions to debaux-build: command not found
How To Fix debaux-build: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu debaux-build is provided by debaux package.
debaux is:
This package contains Perl programs and modules to build and publish Debian packages.
debaux-build automatically downloads APT sources before building, applies patches and additional sources. It has options to build the packages in an existing chroot environment, check the generated packages with lintian, install the created packages on your local system or turn them into RPM packages.
debaux-build has experimental support for downloading Perl modules from CPAN and creating the necessary Debian packaging files.
debaux-publish uploads packages and runs the scripts to create the APT sources and packages files on the remote system. debaux-publish doesn’t support the pool structure yet.
To fix this problem, we can install more using the command below.
sudo apt-get -y install debaux
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install debaux.
sudo apt -y install debaux
Or if you have aptitude installed you can use the following command.
sudo aptitude install debaux
Summary
In this tutorial we learn how to fix debaux-build command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.