How To Install xclock on Fedora 36

In this tutorial we learn how to install xclock in Fedora 36. xclock is The classic X Window System clock utility

Introduction

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

What is xclock

xclock is the classic X Window System clock utility. It displays the time in analog or digital form, continuously updated at a frequency which may be specified by the user.

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

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

sudo dnf -y install xclock

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

sudo yum -y install xclock

How To Uninstall xclock on Fedora 36

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

sudo dnf remove xclock

xclock Package Contents on Fedora 36

/usr/bin/xclock
/usr/lib/.build-id
/usr/lib/.build-id/39
/usr/lib/.build-id/39/249978d2e1973e6a2a781c25ed95029cdb7c4f
/usr/share/X11/app-defaults/XClock
/usr/share/X11/app-defaults/XClock-color
/usr/share/licenses/xclock
/usr/share/licenses/xclock/COPYING
/usr/share/man/man1/xclock.1.gz

References

Summary

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