How To Install dateutils on Fedora 36

In this tutorial we learn how to install dateutils in Fedora 36. dateutils is Command-line date and time calculation, conversion, and comparison

Introduction

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

What is dateutils

Tools which revolve around fiddling with dates and times on the command line, with a strong focus on use cases that arise when dealing with large amounts of financial data.

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

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

sudo dnf -y install dateutils

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

sudo yum -y install dateutils

How To Uninstall dateutils on Fedora 36

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

sudo dnf remove dateutils

dateutils Package Contents on Fedora 36

/usr/bin/dateadd
/usr/bin/dateconv
/usr/bin/datediff
/usr/bin/dategrep
/usr/bin/dateround
/usr/bin/dateseq
/usr/bin/datesort
/usr/bin/datetest
/usr/bin/datezone
/usr/bin/strptime
/usr/lib/.build-id
/usr/lib/.build-id/0f
/usr/lib/.build-id/0f/01a9a7d3fecd11f7440badb0df54bc1cd26675
/usr/lib/.build-id/16
/usr/lib/.build-id/16/d960a2f93c1a22482524d71bdb552f05200193
/usr/lib/.build-id/5f
/usr/lib/.build-id/5f/6f444a4ff2ca079af14e1200562434c0ed5945
/usr/lib/.build-id/67
/usr/lib/.build-id/67/06687024086f999e8a510a55de0d7d942c1746
/usr/lib/.build-id/8d
/usr/lib/.build-id/8d/856ae5095b5242582bbeae1f64a1882350c5f3
/usr/lib/.build-id/91
/usr/lib/.build-id/91/2c8ad1ab7f9c9f63e9e5f3733fe877244e41a2
/usr/lib/.build-id/cf
/usr/lib/.build-id/cf/d3518b156ef4bb3bc0f2ae1beccfb4bf4a03d1
/usr/lib/.build-id/e0
/usr/lib/.build-id/e0/303644a3c0995994d6f57188d7c770dfae6e4c
/usr/lib/.build-id/e2
/usr/lib/.build-id/e2/a867119468fd2ac42cc47497b40f03b15a24dd
/usr/lib/.build-id/f2
/usr/lib/.build-id/f2/d1b1fdc14aeeed793f195d2dbee21eb45c77b9
/usr/share/dateutils
/usr/share/dateutils/iata.tzmcc
/usr/share/dateutils/icao.tzmcc
/usr/share/dateutils/locale
/usr/share/dateutils/mic.tzmcc
/usr/share/doc/dateutils
/usr/share/doc/dateutils/README.md
/usr/share/info/dateutils.info.gz
/usr/share/licenses/dateutils
/usr/share/licenses/dateutils/LICENSE
/usr/share/man/man1/dateadd.1.gz
/usr/share/man/man1/dateconv.1.gz
/usr/share/man/man1/datediff.1.gz
/usr/share/man/man1/dategrep.1.gz
/usr/share/man/man1/dateround.1.gz
/usr/share/man/man1/dateseq.1.gz
/usr/share/man/man1/datesort.1.gz
/usr/share/man/man1/datetest.1.gz
/usr/share/man/man1/dateutils.1.gz
/usr/share/man/man1/datezone.1.gz
/usr/share/man/man1/strptime.1.gz

References

Summary

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