microfactory command not found

In this troubleshooting guide we learn how to fix microfactory command not found error message

Introduction

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

microfactory: command not found

or when using sudo you get the following error message

sudo: microfactory: command not found

Solutions to microfactory: command not found

How To Fix microfactory: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu microfactory is provided by blueprint-tools package.

blueprint-tools is:

Blueprint is a meta-build system that reads in Blueprints files that describe modules that need to be built, and produces a Ninja manifest describing the commands that need to be run and their dependencies. Where most build systems use built-in rules or a domain-specific language to describe the logic for converting module descriptions to build rules, Blueprint delegates this to per-project build logic written in Go. For large, heterogenous projects this allows the inherent complexity of the build logic to be maintained in a high-level language, while still allowing simple changes to individual modules by modifying easy to understand Blueprints files.

This package contains command-line tools for Blueprint.

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

sudo apt-get -y install blueprint-tools

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

You can also use apt command to install blueprint-tools.

sudo apt -y install blueprint-tools

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

sudo aptitude install blueprint-tools

Summary

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