ginga command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
ginga: command not found
or when using sudo you get the following error message
sudo: ginga: command not found
Solutions to ginga: command not found
How To Fix ginga: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu ginga is provided by ginga package.
ginga is:
Ginga is a toolkit designed for building viewers for scientific image data in Python, visualizing 2D pixel data in numpy arrays. It can view astronomical data such as contained in files based on the FITS (Flexible Image Transport System) file format. It is written and is maintained by software engineers at the Subaru Telescope, National Astronomical Observatory of Japan.
The Ginga toolkit centers around an image display object which supports zooming and panning, color and intensity mapping, a choice of several automatic cut levels algorithms and canvases for plotting scalable geometric forms. In addition to this widget, a general purpose “reference” FITS viewer is provided, based on a plugin framework. A fairly complete set of standard plugins are provided for features that is expected from a modern FITS viewer: panning and zooming windows, star catalog access, cuts, star pick/fwhm, thumbnails, etc.
This package contains the image viewer based on Python 3.
To fix this problem, we can install more using the command below.
sudo apt-get -y install ginga
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install ginga.
sudo apt -y install ginga
Or if you have aptitude installed you can use the following command.
sudo aptitude install ginga
Summary
In this tutorial we learn how to fix ginga command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.