How To Install rktime on AlmaLinux 8

In this tutorial we learn how to install rktime in AlmaLinux 8. rktime is Multi-zone time display utility

Introduction

In this tutorial we learn how to install rktime on AlmaLinux 8.

What is rktime

A command-line utility which displays the time in multiple timezones in an easy-to-read way, using color to help indicate which locations are currently in business hours.

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

Install rktime on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install rktime

Install rktime on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install rktime

How To Uninstall rktime on AlmaLinux 8

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

sudo dnf remove rktime

References

Summary

In this tutorial we learn how to install rktime on AlmaLinux 8 using yum and dnf.