mbuild-hybrid command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
mbuild-hybrid: command not found
or when using sudo you get the following error message
sudo: mbuild-hybrid: command not found
Solutions to mbuild-hybrid: command not found
How To Fix mbuild-hybrid: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu mbuild-hybrid is provided by hybrid-dev package.
hybrid-dev is:
These are the headers used when writing modules for ircd-hybrid. For more information on how to write these modules, see the ircd-hybrid documentation or example_module.c in the source code for ircd-hybrid.
It also includes mbuild-hybrid, a shell script that simplifies building and installation of such modules. This shell script is simplistic and assumes a lot; if you possess clue, you will know what to do anyway.
To fix this problem, we can install more using the command below.
sudo apt-get -y install hybrid-dev
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install hybrid-dev.
sudo apt -y install hybrid-dev
Or if you have aptitude installed you can use the following command.
sudo aptitude install hybrid-dev
Summary
In this tutorial we learn how to fix mbuild-hybrid command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.