elastix command not found

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

Introduction

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

elastix: command not found

or when using sudo you get the following error message

sudo: elastix: command not found

Solutions to elastix: command not found

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

In Ubuntu elastix is provided by elastix package.

elastix is:

Image registration based on the well-known Insight Segmentation and Registration Toolkit (ITK). The software consists of a collection of algorithms that are commonly used to solve (medical) image registration problems. The modular design of elastix allows the user to quickly configure, test, and compare different registration methods for a specific application. A command-line interface enables automated processing of large numbers of data sets, by means of scripting.

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

sudo apt-get -y install elastix

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

You can also use apt command to install elastix.

sudo apt -y install elastix

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

sudo aptitude install elastix

Summary

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