heudiconv_monitor command not found

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

Introduction

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

heudiconv_monitor: command not found

or when using sudo you get the following error message

sudo: heudiconv_monitor: command not found

Solutions to heudiconv_monitor: command not found

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

In Ubuntu heudiconv_monitor is provided by heudiconv package.

heudiconv is:

This is a flexible dicom converter for organizing brain imaging data into structured directory layouts. It allows for flexible directory layouts and naming schemes through customizable heuristics implementations. It only converts the necessary dicoms, not everything in a directory. It tracks the provenance of the conversion from dicom to nifti in w3c prov format.

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

sudo apt-get -y install heudiconv

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

You can also use apt command to install heudiconv.

sudo apt -y install heudiconv

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

sudo aptitude install heudiconv

Summary

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