apngopt command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
apngopt: command not found
or when using sudo you get the following error message
sudo: apngopt: command not found
Solutions to apngopt: command not found
How To Fix apngopt: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu apngopt is provided by apngopt package.
apngopt is:
Optimize APNG files by reducing their file size.
The Animated Portable Network Graphics (APNG) file format is an extension to the Portable Network Graphics (PNG) specification. It allows for animated PNG files that work similarly to animated GIF files, while retaining backward compatibility with non-animated PNG files and adding support for 8-bit transparency and 24-bit images.
To fix this problem, we can install more using the command below.
sudo apt-get -y install apngopt
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install apngopt.
sudo apt -y install apngopt
Or if you have aptitude installed you can use the following command.
sudo aptitude install apngopt
Summary
In this tutorial we learn how to fix apngopt command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.