xmedcon command not found

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

Introduction

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

xmedcon: command not found

or when using sudo you get the following error message

sudo: xmedcon: command not found

Solutions to xmedcon: command not found

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

In Ubuntu xmedcon is provided by xmedcon package.

xmedcon 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 program version for X based on GTK+. Processes only one file at a time.

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

sudo apt-get -y install xmedcon

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

You can also use apt command to install xmedcon.

sudo apt -y install xmedcon

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

sudo aptitude install xmedcon

Summary

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