How To Install golang-github-gorhill-cronexpr-devel on Fedora 36
Introduction
In this tutorial we learn how to install golang-github-gorhill-cronexpr-devel
on Fedora 36.
What is golang-github-gorhill-cronexpr-devel
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. This package contains the source code needed for building packages that reference the following Go import paths – github.com/gorhill/cronexpr
We can use yum
or dnf
to install golang-github-gorhill-cronexpr-devel
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-devel.
Install golang-github-gorhill-cronexpr-devel 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-devel
using dnf
by running the following command:
sudo dnf -y install golang-github-gorhill-cronexpr-devel
Install golang-github-gorhill-cronexpr-devel 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-devel
using yum
by running the following command:
sudo yum -y install golang-github-gorhill-cronexpr-devel
How To Uninstall golang-github-gorhill-cronexpr-devel on Fedora 36
To uninstall only the golang-github-gorhill-cronexpr-devel
package we can use the following command:
sudo dnf remove golang-github-gorhill-cronexpr-devel
golang-github-gorhill-cronexpr-devel Package Contents on Fedora 36
/usr/share/doc/golang-github-gorhill-cronexpr-devel
/usr/share/doc/golang-github-gorhill-cronexpr-devel/README.md
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/gorhill
/usr/share/gocode/src/github.com/gorhill/cronexpr
/usr/share/gocode/src/github.com/gorhill/cronexpr/.goipath
/usr/share/gocode/src/github.com/gorhill/cronexpr/README.md
/usr/share/gocode/src/github.com/gorhill/cronexpr/cronexpr
/usr/share/gocode/src/github.com/gorhill/cronexpr/cronexpr.go
/usr/share/gocode/src/github.com/gorhill/cronexpr/cronexpr/README.md
/usr/share/gocode/src/github.com/gorhill/cronexpr/cronexpr/main.go
/usr/share/gocode/src/github.com/gorhill/cronexpr/cronexpr_next.go
/usr/share/gocode/src/github.com/gorhill/cronexpr/cronexpr_parse.go
/usr/share/gocode/src/github.com/gorhill/cronexpr/cronexpr_test.go
/usr/share/gocode/src/github.com/gorhill/cronexpr/example_test.go
References
Summary
In this tutorial we learn how to install golang-github-gorhill-cronexpr-devel
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).