nib-dicomfs command not found

In this troubleshooting guide we learn how to fix nib-dicomfs command not found error message

Introduction

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

nib-dicomfs: command not found

or when using sudo you get the following error message

sudo: nib-dicomfs: command not found

Solutions to nib-dicomfs: command not found

How To Fix nib-dicomfs: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu nib-dicomfs is provided by python3-nibabel package.

python3-nibabel is:

NiBabel provides read and write access to some common medical and neuroimaging file formats, including: ANALYZE (plain, SPM99, SPM2), GIFTI, NIfTI1, MINC, as well as PAR/REC. The various image format classes give full or selective access to header (meta) information and access to the image data is made available via NumPy arrays. NiBabel is the successor of PyNIfTI.

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

sudo apt-get -y install python3-nibabel

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

You can also use apt command to install python3-nibabel.

sudo apt -y install python3-nibabel

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

sudo aptitude install python3-nibabel

Summary

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