How To Install golang-github-gorhill-cronexpr on Fedora 36
Introduction
In this tutorial we learn how to install golang-github-gorhill-cronexpr
on Fedora 36.
What is golang-github-gorhill-cronexpr
Given a cron expression and a time stamp, you can get the next time stamp which satisfies the cron expression. In another project, I decided to use cron expression syntax to encode scheduling information. Thus this standalone library to parse and apply time stamps to cron expressions. The time-matching algorithm in this implementation is efficient, it avoids as much as possible to guess the next matching time stamp, a common technique seen in a number of implementations out there.
We can use yum
or dnf
to install golang-github-gorhill-cronexpr
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install golang-github-gorhill-cronexpr.
Install golang-github-gorhill-cronexpr 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 golang-github-gorhill-cronexpr
using dnf
by running the following command:
sudo dnf -y install golang-github-gorhill-cronexpr
Install golang-github-gorhill-cronexpr 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 golang-github-gorhill-cronexpr
using yum
by running the following command:
sudo yum -y install golang-github-gorhill-cronexpr
How To Uninstall golang-github-gorhill-cronexpr on Fedora 36
To uninstall only the golang-github-gorhill-cronexpr
package we can use the following command:
sudo dnf remove golang-github-gorhill-cronexpr
golang-github-gorhill-cronexpr Package Contents on Fedora 36
/usr/bin/cronexpr
/usr/lib/.build-id
/usr/lib/.build-id/cb
/usr/lib/.build-id/cb/4b6aa6d54cc19ea722644026650b64b62ac64e
/usr/share/doc/golang-github-gorhill-cronexpr
/usr/share/doc/golang-github-gorhill-cronexpr/README.md
References
Summary
In this tutorial we learn how to install golang-github-gorhill-cronexpr
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).