dicomtocsv command not found

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

Introduction

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

dicomtocsv: command not found

or when using sudo you get the following error message

sudo: dicomtocsv: command not found

Solutions to dicomtocsv: command not found

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

In Ubuntu dicomtocsv is provided by vtk-dicom-tools package.

vtk-dicom-tools is:

This package contains a set of classes for managing DICOM files and metadata from within VTK, and some utility programs for interrogating and converting DICOM files.

Command line tools

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

sudo apt-get -y install vtk-dicom-tools

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

You can also use apt command to install vtk-dicom-tools.

sudo apt -y install vtk-dicom-tools

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

sudo aptitude install vtk-dicom-tools

Summary

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