gdcmanon command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
gdcmanon: command not found
or when using sudo you get the following error message
sudo: gdcmanon: command not found
Solutions to gdcmanon: command not found
How To Fix gdcmanon: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu gdcmanon is provided by libgdcm-tools package.
libgdcm-tools is:
Grassroots DiCoM is a C++ library for DICOM medical files. It is automatically wrapped to python/C#/Java (using swig). It supports RAW,JPEG (lossy/lossless),J2K,JPEG-LS, RLE and deflated.
Install this package for the gdcmanon, gdcmconv, gdcmdiff, gdcmdump, gdcmpap3, gdcmgendir, gdcmimg, gdcminfo, gdcmpdf, gdcmraw, gdcmscanner, gdcmscu, gdcmtar, gdcmxml programs.
To fix this problem, we can install more using the command below.
sudo apt-get -y install libgdcm-tools
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libgdcm-tools.
sudo apt -y install libgdcm-tools
Or if you have aptitude installed you can use the following command.
sudo aptitude install libgdcm-tools
Summary
In this tutorial we learn how to fix gdcmanon command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.