imgsizer command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
imgsizer: command not found
or when using sudo you get the following error message
sudo: imgsizer: command not found
Solutions to imgsizer: command not found
How To Fix imgsizer: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu imgsizer is provided by imgsizer package.
imgsizer is:
The imgsizer script automates away the tedious task of creating and updating the extension HEIGHT and WIDTH parameters in HTML IMG tags. These parameters help browsers to multi-thread image loading, instead of having to load images in strict sequence in order to have each one’s dimensions available so the next can be placed. This generally allows text on the remainder of the page to load much faster.
The package needs either the imagemagick package or both the file and libjpeg-progs packages.
To fix this problem, we can install more using the command below.
sudo apt-get -y install imgsizer
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install imgsizer.
sudo apt -y install imgsizer
Or if you have aptitude installed you can use the following command.
sudo aptitude install imgsizer
Summary
In this tutorial we learn how to fix imgsizer command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.