genmakefile command not found

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

Introduction

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

genmakefile: command not found

or when using sudo you get the following error message

sudo: genmakefile: command not found

Solutions to genmakefile: command not found

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

In Ubuntu genmakefile is provided by odin package.

odin is:

ODIN is a framework for magnetic resonance imaging (MRI). It covers the whole toolchain of MRI, from low-level data acquisition to image reconstruction. In particular, it aims at rapid prototyping of MRI sequences. The sequences can be programmed using a high-level, object oriented, C++ programming interface. It provides advanced sequence analysis tools, such as interactive plotting of k-space trajectories, a user interface for a fast compile-link-test cycle and a powerful MRI simulator which supports different virtual samples. For fast and flexible image reconstruction, ODIN contains a highly customizable, multi-threaded data-processing framework.

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

sudo apt-get -y install odin

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

You can also use apt command to install odin.

sudo apt -y install odin

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

sudo aptitude install odin

Summary

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