How To Install timedatex on Rocky Linux 8

In this tutorial we learn how to install timedatex on Rocky Linux 8. timedatex is D-Bus service for system clock and RTC settings

Introduction

In this tutorial we learn how to install timedatex on Rocky Linux 8.

What is timedatex

timedatex is a D-Bus service that implements the org.freedesktop.timedate1 interface. It can be used to read and set the system clock, the real-time clock (RTC), the system timezone, and enable or disable an NTP client installed on the system. It is a replacement for the systemd-timedated service.

We can use yum or dnf to install timedatex on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install timedatex.

Install timedatex on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install timedatex

Install timedatex on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install timedatex

How To Uninstall timedatex on Rocky Linux 8

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

sudo dnf remove timedatex

timedatex Package Contents on Rocky Linux 8

/etc/systemd/system/systemd-timedated.service
/usr/lib/.build-id
/usr/lib/.build-id/9e
/usr/lib/.build-id/9e/cae3a141cfdb78f59315c2580345ce8ee3cb26
/usr/lib/systemd/ntp-units.d
/usr/lib/systemd/system/timedatex.service
/usr/sbin/timedatex
/usr/share/doc/timedatex
/usr/share/doc/timedatex/COPYING
/usr/share/doc/timedatex/NEWS
/usr/share/doc/timedatex/README
/usr/share/man/man8/timedatex.8.gz

References

Summary

In this tutorial we learn how to install timedatex on Rocky Linux 8 using yum and dnf.