minctoraw command not found

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

Introduction

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

minctoraw: command not found

or when using sudo you get the following error message

sudo: minctoraw: command not found

Solutions to minctoraw: command not found

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

In Ubuntu minctoraw is provided by minc-tools package.

minc-tools is:

This package contains tools to manipulate MINC files.

The Minc file format is a highly flexible medical image file format built on top of the NetCDF generalized data format. The format is simple, self-describing, extensible, portable and N-dimensional, with programming interfaces for both low-level data access and high-level volume manipulation. On top of the libraries is a suite of generic image-file manipulation tools. The format, libraries and tools are designed for use in a medical-imaging research environment: they are simple and powerful and make no attempt to provide a pretty interface to users.

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

sudo apt-get -y install minc-tools

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

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

sudo apt -y install minc-tools

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

sudo aptitude install minc-tools

Summary

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