How To Install gxmessage on Fedora 34

gxmessage is GTK2 based xmessage clone

Introduction

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

What is gxmessage

Gxmassage is a GTK2 based xmessage clone. It pops up a dialog window, displays a given message or question, then waits for the user’s response. That response is returned as the program’s exit code. Because gxmessage is a drop-in alternative to xmessage, gxmessage accepts any option xmessage would, and returns the same exit codes.

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

Install gxmessage 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 gxmessage using dnf by running the following command:

sudo dnf -y install gxmessage

Install gxmessage 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 gxmessage using yum by running the following command:

sudo yum -y install gxmessage

How To Uninstall gxmessage on Fedora 34

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

sudo dnf remove gxmessage

gxmessage Package Contents on Fedora 34

/usr/bin/gxmessage
/usr/lib/.build-id
/usr/lib/.build-id/a8
/usr/lib/.build-id/a8/053bc5d312725a5b61baa4b5c48d2e17c60612
/usr/share/doc/gxmessage
/usr/share/doc/gxmessage/AUTHORS
/usr/share/doc/gxmessage/COPYING
/usr/share/doc/gxmessage/COPYING.icon
/usr/share/doc/gxmessage/ChangeLog
/usr/share/doc/gxmessage/HACKING
/usr/share/doc/gxmessage/NEWS
/usr/share/doc/gxmessage/README
/usr/share/doc/gxmessage/TODO
/usr/share/doc/gxmessage/examples
/usr/share/doc/gxmessage/examples/gtkrc
/usr/share/doc/gxmessage/examples/gxaddress
/usr/share/doc/gxmessage/examples/gxdialup
/usr/share/doc/gxmessage/examples/gxdict
/usr/share/doc/gxmessage/examples/gxman
/usr/share/doc/gxmessage/examples/gxview
/usr/share/doc/gxmessage/examples/nautilus-word-count
/usr/share/gxmessage
/usr/share/gxmessage/allow_noescape
/usr/share/icons/hicolor/48x48/apps/gxmessage.png
/usr/share/info/gxmessage.info.gz
/usr/share/locale/de/LC_MESSAGES/gxmessage.mo
/usr/share/locale/en_AU/LC_MESSAGES/gxmessage.mo
/usr/share/locale/en_CA/LC_MESSAGES/gxmessage.mo
/usr/share/locale/en_GB/LC_MESSAGES/gxmessage.mo
/usr/share/locale/en_NZ/LC_MESSAGES/gxmessage.mo
/usr/share/locale/sk/LC_MESSAGES/gxmessage.mo
/usr/share/locale/sv/LC_MESSAGES/gxmessage.mo
/usr/share/man/man1/gxmessage.1.gz

References

Summary

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