How To Install texlive-datetime on AlmaLinux 8

In this tutorial we learn how to install texlive-datetime in AlmaLinux 8. texlive-datetime is Change format of \today with commands for current time

Introduction

In this tutorial we learn how to install texlive-datetime on AlmaLinux 8.

What is texlive-datetime

Provides various different formats for the text created by the command \today, and also provides commands for displaying the current time (or any given time), in 12-hour, 24-hour or text format. The package overrides babel’s date format, having its own library of date formats in different languages. The package requires the fmtcount package.

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

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

sudo dnf -y install texlive-datetime

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

sudo yum -y install texlive-datetime

How To Uninstall texlive-datetime on AlmaLinux 8

To uninstall only the texlive-datetime package we can use the following command:

sudo dnf remove texlive-datetime

References

Summary

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