png2html command not found

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

Introduction

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

png2html: command not found

or when using sudo you get the following error message

sudo: png2html: command not found

Solutions to png2html: command not found

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

In Ubuntu png2html is provided by png2html package.

png2html is:

Png2html takes a PNG image and transforms it pixel by pixel to a web page, encoding each pixel as an appropriately coloured letter. It is decided which letter to encode each pixel as by using a text file supplied by the user. An example can be found on the project’s homepage.

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

sudo apt-get -y install png2html

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

You can also use apt command to install png2html.

sudo apt -y install png2html

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

sudo aptitude install png2html

Summary

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