medcon command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
medcon: command not found
or when using sudo you get the following error message
sudo: medcon: command not found
Solutions to medcon: command not found
How To Fix medcon: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu medcon is provided by medcon package.
medcon is:
This project stands for Medical Image Conversion. Released under the (L)GPL, it comes with the full C-source code of the library, a flexible command line utility and a neat graphical front-end using the GTK+ toolkit. The currently supported formats are: Acr/Nema 2.0, Analyze (SPM), DICOM 3.0, InterFile 3.3 and PNG.
The program also allows one to read unsupported files without compression, to print pixel values or to extract/reorder specified images. It is possible to retrieve the raw binary/ascii image arrays or to write PNG for desktop applications.
This is the command line tool for batch processing.
To fix this problem, we can install more using the command below.
sudo apt-get -y install medcon
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install medcon.
sudo apt -y install medcon
Or if you have aptitude installed you can use the following command.
sudo aptitude install medcon
Summary
In this tutorial we learn how to fix medcon command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.