pngphoon command not found

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

Introduction

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

pngphoon: command not found

or when using sudo you get the following error message

sudo: pngphoon: command not found

Solutions to pngphoon: command not found

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

In Ubuntu pngphoon is provided by pngphoon package.

pngphoon is:

This program is intended as a successor to the xphoon program (X PHase of mOON). xphoon is a program that displays the actual phase of the moon on the X11 root window. Nowadays many desktop systems like KDE hide the X11 root window with a background image of their own, so the xphoon output is not visible. When called, pngphoon creates a PNG image with the current phase of the moon. It can be used with window managers that allow using a command to provide a background image.

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

sudo apt-get -y install pngphoon

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

You can also use apt command to install pngphoon.

sudo apt -y install pngphoon

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

sudo aptitude install pngphoon

Summary

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