dinifti command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
dinifti: command not found
or when using sudo you get the following error message
sudo: dinifti: command not found
Solutions to dinifti: command not found
How To Fix dinifti: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu dinifti is provided by dicomnifti package.
dicomnifti is:
The dinifti program converts MRI images stored in DICOM format to NIfTI format. The NIfTI format is thought to be the new standard image format for medical imaging and can be used with for example with FSL, AFNI, SPM, Caret or Freesurfer.
dinifti converts single files, but also supports fully automatic batch conversions of complete dicomdirs. Additionally, converted NIfTI files can be properly named, using image series information from the DICOM files.
To fix this problem, we can install more using the command below.
sudo apt-get -y install dicomnifti
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install dicomnifti.
sudo apt -y install dicomnifti
Or if you have aptitude installed you can use the following command.
sudo aptitude install dicomnifti
Summary
In this tutorial we learn how to fix dinifti command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.