rawtominc command not found

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

Introduction

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

rawtominc: command not found

or when using sudo you get the following error message

sudo: rawtominc: command not found

Solutions to rawtominc: command not found

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

In Ubuntu rawtominc 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 rawtominc command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.