imageindex command not found

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

Introduction

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

imageindex: command not found

or when using sudo you get the following error message

sudo: imageindex: command not found

Solutions to imageindex: command not found

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

In Ubuntu imageindex is provided by imageindex package.

imageindex is:

Imageindex generates standards-compliant static HTML galleries of images (usually JPG photos, but can deal with images of just about any format). Some features:

* Only out-of-date thumbnail/medium images are generated
* Captions come from comments embedded in images (never get lost!)
* Output is customizable with CSS stylesheets
* Can fetch EXIF header data from digicam photos
* Can optionally recurse directory trees
* Index, detail, slide, and frame views
* Can use mplayer for dealing with video files.

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

sudo apt-get -y install imageindex

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

You can also use apt command to install imageindex.

sudo apt -y install imageindex

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

sudo aptitude install imageindex

Summary

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