imagej command not found

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

Introduction

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

imagej: command not found

or when using sudo you get the following error message

sudo: imagej: command not found

Solutions to imagej: command not found

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

In Ubuntu imagej is provided by imagej package.

imagej is:

It can display, edit, analyze, process, save and print 8-bit, 16-bit and 32-bit images. It can read many image formats including TIFF, GIF, JPEG, BMP, DICOM, FITS and “raw”. It supports “stacks”, a series of images that share a single window.

It can calculate area and pixel value statistics of user-defined selections. It can measure distances and angles. It can create density histograms and line profile plots. It supports standard image processing functions such as contrast manipulation, sharpening, smoothing, edge detection and median filtering.

Spatial calibration is available to provide real world dimensional measurements in units such as millimeters. Density or gray scale calibration is also available.

ImageJ is developed by Wayne Rasband ([email protected]), is at the Research Services Branch, National Institute of Mental Health, Bethesda, Maryland, USA.

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

sudo apt-get -y install imagej

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

You can also use apt command to install imagej.

sudo apt -y install imagej

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

sudo aptitude install imagej

Summary

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