nitool command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
nitool: command not found
or when using sudo you get the following error message
sudo: nitool: command not found
Solutions to nitool: command not found
How To Fix nitool: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu nitool is provided by python3-dcmstack package.
python3-dcmstack is:
DICOM to NIfTI conversion with the added ability to extract and summarize meta data from the source DICOMs. The meta data can be injected into a NIfTI header extension or written out as a JSON formatted text file.
This package provides the Python3 package.
To fix this problem, we can install more using the command below.
sudo apt-get -y install python3-dcmstack
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install python3-dcmstack.
sudo apt -y install python3-dcmstack
Or if you have aptitude installed you can use the following command.
sudo aptitude install python3-dcmstack
Summary
In this tutorial we learn how to fix nitool command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.