How To Install gspectrum on Fedora 34

gspectrum is Spectrum viewer

Introduction

In this tutorial we learn how to install gspectrum on Fedora 34.

What is gspectrum

This package contains GSpectrum, a spectrum viewer that is part of the GNOME Chemistry Utils.

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

Install gspectrum on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install gspectrum

Install gspectrum on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo yum -y install gspectrum

How To Uninstall gspectrum on Fedora 34

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

sudo dnf remove gspectrum

gspectrum Package Contents on Fedora 34

/usr/bin/gspectrum
/usr/bin/gspectrum-0.14
/usr/lib/.build-id
/usr/lib/.build-id/2d
/usr/lib/.build-id/2d/e991b293c21a3405eeb92daede388d2468a66c
/usr/share/appdata/gspectrum.appdata.xml
/usr/share/applications/gspectrum.desktop
/usr/share/gnome/help/gspectrum-0.14
/usr/share/gnome/help/gspectrum-0.14/C
/usr/share/gnome/help/gspectrum-0.14/C/figures
/usr/share/gnome/help/gspectrum-0.14/C/figures/fid-tools.png
/usr/share/gnome/help/gspectrum-0.14/C/figures/gspectrum.png
/usr/share/gnome/help/gspectrum-0.14/C/figures/ir-tools.png
/usr/share/gnome/help/gspectrum-0.14/C/figures/nmr-tools.png
/usr/share/gnome/help/gspectrum-0.14/C/figures/page-setup.png
/usr/share/gnome/help/gspectrum-0.14/C/figures/print-scale.png
/usr/share/gnome/help/gspectrum-0.14/C/figures/simple-toolbar.png
/usr/share/gnome/help/gspectrum-0.14/C/figures/uv-vis-tools.png
/usr/share/gnome/help/gspectrum-0.14/C/gspectrum-0.14.xml
/usr/share/gnome/help/gspectrum-0.14/C/legal.xml
/usr/share/icons/hicolor/scalable/apps/gspectrum.svg
/usr/share/man/man1/gspectrum.1.gz
/usr/share/omf/gspectrum-0.14
/usr/share/omf/gspectrum-0.14/gspectrum-0.14-C.omf
/usr/bin/gspectrum
/usr/bin/gspectrum-0.14
/usr/lib/.build-id
/usr/lib/.build-id/d9
/usr/lib/.build-id/d9/eb126911465d6bd821b33714c197c24c95169d
/usr/share/appdata/gspectrum.appdata.xml
/usr/share/applications/gspectrum.desktop
/usr/share/gnome/help/gspectrum-0.14
/usr/share/gnome/help/gspectrum-0.14/C
/usr/share/gnome/help/gspectrum-0.14/C/figures
/usr/share/gnome/help/gspectrum-0.14/C/figures/fid-tools.png
/usr/share/gnome/help/gspectrum-0.14/C/figures/gspectrum.png
/usr/share/gnome/help/gspectrum-0.14/C/figures/ir-tools.png
/usr/share/gnome/help/gspectrum-0.14/C/figures/nmr-tools.png
/usr/share/gnome/help/gspectrum-0.14/C/figures/page-setup.png
/usr/share/gnome/help/gspectrum-0.14/C/figures/print-scale.png
/usr/share/gnome/help/gspectrum-0.14/C/figures/simple-toolbar.png
/usr/share/gnome/help/gspectrum-0.14/C/figures/uv-vis-tools.png
/usr/share/gnome/help/gspectrum-0.14/C/gspectrum-0.14.xml
/usr/share/gnome/help/gspectrum-0.14/C/legal.xml
/usr/share/icons/hicolor/scalable/apps/gspectrum.svg
/usr/share/man/man1/gspectrum.1.gz
/usr/share/omf/gspectrum-0.14
/usr/share/omf/gspectrum-0.14/gspectrum-0.14-C.omf

References

Summary

In this tutorial we learn how to install gspectrum on Fedora 34 using yum and dnf.