itkTestDriver command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
itkTestDriver: command not found
or when using sudo you get the following error message
sudo: itkTestDriver: command not found
Solutions to itkTestDriver: command not found
How To Fix itkTestDriver: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu itkTestDriver is provided by libinsighttoolkit5-dev package.
libinsighttoolkit5-dev is:
ITK is an open-source software toolkit for performing registration and segmentation. Segmentation is the process of identifying and classifying data found in a digitally sampled representation. Typically the sampled representation is an image acquired from such medical instrumentation as CT or MRI scanners. Registration is the task of aligning or developing correspondences between data. For example, in the medical environment, a CT scan may be aligned with a MRI scan in order to combine the information contained in both.
This package contains the development files needed to build your own ITK applications.
To fix this problem, we can install more using the command below.
sudo apt-get -y install libinsighttoolkit5-dev
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libinsighttoolkit5-dev.
sudo apt -y install libinsighttoolkit5-dev
Or if you have aptitude installed you can use the following command.
sudo aptitude install libinsighttoolkit5-dev
Summary
In this tutorial we learn how to fix itkTestDriver command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.