trimage command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
trimage: command not found
or when using sudo you get the following error message
sudo: trimage: command not found
Solutions to trimage: command not found
How To Fix trimage: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu trimage is provided by trimage package.
trimage is:
Trimage is a cross-platform GUI and command-line interface to optimize image files via optipng, advpng, pngcrush and jpegoptim, depending on the filetype (currently, PNG and JPG files are supported). All image files are losslessly compressed on the highest available compression levels. Trimage gives you various input functions to fit your own workflow: A regular file dialog, dragging and dropping and various command line options.
To fix this problem, we can install more using the command below.
sudo apt-get -y install trimage
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install trimage.
sudo apt -y install trimage
Or if you have aptitude installed you can use the following command.
sudo aptitude install trimage
Summary
In this tutorial we learn how to fix trimage command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.