imgmerge command not found

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

Introduction

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

imgmerge: command not found

or when using sudo you get the following error message

sudo: imgmerge: command not found

Solutions to imgmerge: command not found

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

In Ubuntu imgmerge is provided by xpaint package.

xpaint is:

XPaint is suitable for producing simple graphics. It does offer some advanced features such as image processing functions and gradient fill.

In the C Script Editor of XPaint, the External editor in the File menu will invoke x-terminal-emulator -e sensible-editor.

The gv package will be needed for PDF/PS reading, netpbm will be needed for external conversion, lpr for printing.

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

sudo apt-get -y install xpaint

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

You can also use apt command to install xpaint.

sudo apt -y install xpaint

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

sudo aptitude install xpaint

Summary

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