How To Install dateutils on Fedora 34
Introduction
In this tutorial we learn how to install dateutils
on Fedora 34.
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 34. In this tutorial we discuss both methods but you only need to choose one of method to install dateutils.
Install dateutils on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install dateutils
using dnf
by running the following command:
sudo dnf -y install dateutils
Install dateutils on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
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 34
To uninstall only the dateutils
package we can use the following command:
sudo dnf remove dateutils
dateutils Package Contents on Fedora 34
/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/15
/usr/lib/.build-id/15/553e51fe0b85559ea89360861b827cb0cda5d4
/usr/lib/.build-id/5b
/usr/lib/.build-id/5b/5554cc109bc879b358cfa0ca0f93fb42e2bc8f
/usr/lib/.build-id/64
/usr/lib/.build-id/64/3d15183b4463ac472c378ee40e10f8b7e67120
/usr/lib/.build-id/9e
/usr/lib/.build-id/9e/f06713cd4c1e7bdc1f3ae74b63ad96f119a317
/usr/lib/.build-id/d1
/usr/lib/.build-id/d1/ec8a6c2fa8cbe82d6a8af27a0cee9d01b5c072
/usr/lib/.build-id/e2
/usr/lib/.build-id/e2/f0e63f6183ffc037a32799a2dab852659fa1cc
/usr/lib/.build-id/e5
/usr/lib/.build-id/e5/8f4733f99e4cb8d22b5fef6e2582f60dd78fd7
/usr/lib/.build-id/e8
/usr/lib/.build-id/e8/7c5daf86ebbaa24d888437cf042a50ebb6e070
/usr/lib/.build-id/f1
/usr/lib/.build-id/f1/8d01e324be3ed059267d538a2d23b3f93a5bd7
/usr/lib/.build-id/f6
/usr/lib/.build-id/f6/062dc3affe73bddfd10a6c253bc86df2790efe
/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 34 using yum and dnf.