deb-fix-build command not found

In this troubleshooting guide we learn how to fix deb-fix-build command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

deb-fix-build: command not found

or when using sudo you get the following error message

sudo: deb-fix-build: command not found

Solutions to deb-fix-build: command not found

How To Fix deb-fix-build: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu deb-fix-build is provided by ognibuild package.

ognibuild is:

Ognibuild is a simple wrapper with a common interface for invoking any kind of build tool.

The ideas is that it can be run to build and install any source code directory by detecting the build system that is in use and invoking that with the correct parameters.

It can also detect and install missing dependencies.

To fix this problem, we can install more using the command below.

sudo apt-get -y install ognibuild

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install ognibuild.

sudo apt -y install ognibuild

Or if you have aptitude installed you can use the following command.

sudo aptitude install ognibuild

Summary

In this tutorial we learn how to fix deb-fix-build command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.