metapixel-imagesize command not found

In this troubleshooting guide we learn how to fix metapixel-imagesize command not found error message

Introduction

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

metapixel-imagesize: command not found

or when using sudo you get the following error message

sudo: metapixel-imagesize: command not found

Solutions to metapixel-imagesize: command not found

How To Fix metapixel-imagesize: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu metapixel-imagesize is provided by metapixel package.

metapixel is:

Metapixel is a program for generating photomosaics. It can generate classical photomosaics, in which the source image is viewed as a matrix of equally sized rectangles for each of which a matching image is substitued, as well as collage-style photomosaics, in which rectangular parts of the source image at arbitrary positions (i.e. not aligned to a matrix) are substituted by matching images.

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

sudo apt-get -y install metapixel

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

You can also use apt command to install metapixel.

sudo apt -y install metapixel

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

sudo aptitude install metapixel

Summary

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