How To Install ginga on Fedora 36

In this tutorial we learn how to install ginga in Fedora 36. ginga is Image Viewer and Toolkit

Introduction

In this tutorial we learn how to install ginga on Fedora 36.

What is ginga

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 class 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 we expect from a modern FITS viewer panning and zooming windows, star catalog access, cuts, star pick/fwhm, thumbnails, etc.

We can use yum or dnf to install ginga on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ginga.

Install ginga on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install ginga using dnf by running the following command:

sudo dnf -y install ginga

Install ginga on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install ginga using yum by running the following command:

sudo yum -y install ginga

How To Uninstall ginga on Fedora 36

To uninstall only the ginga package we can use the following command:

sudo dnf remove ginga

ginga Package Contents on Fedora 36

/usr/bin/ggrc
/usr/bin/ginga
/usr/share/applications/ginga.desktop
/usr/share/doc/ginga
/usr/share/doc/ginga/README.txt
/usr/share/licenses/ginga
/usr/share/licenses/ginga/LICENSE.txt

References

Summary

In this tutorial we learn how to install ginga on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).