How To Install xmessage on Fedora 36

In this tutorial we learn how to install xmessage in Fedora 36. xmessage is Display a message in a window

Introduction

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

What is xmessage

xmessage displays a message or query in a window. The user can click on an “okay” button to dismiss it or can select one of several buttons to answer a question. xmessage can also exit after a specified time.

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

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

sudo dnf -y install xmessage

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

sudo yum -y install xmessage

How To Uninstall xmessage on Fedora 36

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

sudo dnf remove xmessage

xmessage Package Contents on Fedora 36

/usr/bin/xmessage
/usr/lib/.build-id
/usr/lib/.build-id/39
/usr/lib/.build-id/39/c94e5b22a4abbf166197f6405c33ed95466b6b
/usr/share/X11/app-defaults/Xmessage
/usr/share/X11/app-defaults/Xmessage-color
/usr/share/licenses/xmessage
/usr/share/licenses/xmessage/COPYING
/usr/share/man/man1/xmessage.1.gz

References

Summary

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