How To Install xwininfo on Fedora 36

In this tutorial we learn how to install xwininfo in Fedora 36. xwininfo is X window info utility

Introduction

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

What is xwininfo

xwininfo prints information about an X11 window.

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

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

sudo dnf -y install xwininfo

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

sudo yum -y install xwininfo

How To Uninstall xwininfo on Fedora 36

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

sudo dnf remove xwininfo

xwininfo Package Contents on Fedora 36

/usr/bin/xwininfo
/usr/lib/.build-id
/usr/lib/.build-id/d0
/usr/lib/.build-id/d0/1aed7a43213f74eda21c0ee196041ef43d2234
/usr/share/doc/xwininfo
/usr/share/doc/xwininfo/README.md
/usr/share/licenses/xwininfo
/usr/share/licenses/xwininfo/COPYING
/usr/share/man/man1/xwininfo.1.gz

References

Summary

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