equivs-build command not found

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

Introduction

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

equivs-build: command not found

or when using sudo you get the following error message

sudo: equivs-build: command not found

Solutions to equivs-build: command not found

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

In Ubuntu equivs-build is provided by equivs package.

equivs is:

This package provides a tool to create trivial Debian packages. Typically these packages contain only dependency information, but they can also include normal installed files like other packages do.

One use for this is to create a metapackage: a package whose sole purpose is to declare dependencies and conflicts on other packages so that these will be automatically installed, upgraded, or removed.

Another use is to circumvent dependency checking: by letting dpkg think a particular package name and version is installed when it isn’t, you can work around bugs in other packages’ dependencies. (Please do still file such bugs, though.)

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

sudo apt-get -y install equivs

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

You can also use apt command to install equivs.

sudo apt -y install equivs

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

sudo aptitude install equivs

Summary

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