imageinfo command not found

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

Introduction

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

imageinfo: command not found

or when using sudo you get the following error message

sudo: imageinfo: command not found

Solutions to imageinfo: command not found

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

In Ubuntu imageinfo is provided by imageinfo package.

imageinfo is:

imageinfo prints image attributes (e.g. format, geometry) selected via command line options. It is similar in function to the ImageMagick “identify” utility, but provides some additional attributes (such as details of embedded ICC profiles), and is more convenient for use within a script since the command line selection of specific attributes avoids unnecessary computation and allows easier parsing of the result.

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

sudo apt-get -y install imageinfo

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

You can also use apt command to install imageinfo.

sudo apt -y install imageinfo

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

sudo aptitude install imageinfo

Summary

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