fitspng command not found

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

Introduction

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

fitspng: command not found

or when using sudo you get the following error message

sudo: fitspng: command not found

Solutions to fitspng: command not found

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

In Ubuntu fitspng is provided by fitspng package.

fitspng is:

Fitspng is an utility intended to convert of the natural high dynamic range of FITS images, directly representing measured data, to the limited numerical range of PNG format widely used in computer graphics. Fitspng implements a global tone mapping technique by a set of tone functions using parameters provided by user or by machine estimate on base of a robust count statistics. Moreover, the conversion keeps an important FITS meta-information as a text part of PNG header.

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

sudo apt-get -y install fitspng

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

You can also use apt command to install fitspng.

sudo apt -y install fitspng

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

sudo aptitude install fitspng

Summary

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