How To Install golang-github-fernet-devel on Fedora 36

In this tutorial we learn how to install golang-github-fernet-devel in Fedora 36. golang-github-fernet-devel is Generate and verify HMAC-based authentication tokens

Introduction

In this tutorial we learn how to install golang-github-fernet-devel on Fedora 36.

What is golang-github-fernet-devel

Fernet takes a user-provided message (an arbitrary sequence of bytes), a key (256 bits), and the current time, and produces a token, which contains the message in a form that can’t be read or altered without the key. This package contains the source code needed for building packages that reference the following Go import paths – github.com/fernet/fernet-go

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

Install golang-github-fernet-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-fernet-devel using dnf by running the following command:

sudo dnf -y install golang-github-fernet-devel

Install golang-github-fernet-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-fernet-devel using yum by running the following command:

sudo yum -y install golang-github-fernet-devel

How To Uninstall golang-github-fernet-devel on Fedora 36

To uninstall only the golang-github-fernet-devel package we can use the following command:

sudo dnf remove golang-github-fernet-devel

golang-github-fernet-devel Package Contents on Fedora 36

/usr/share/doc/golang-github-fernet-devel
/usr/share/doc/golang-github-fernet-devel/Readme
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/fernet
/usr/share/gocode/src/github.com/fernet/fernet-go
/usr/share/gocode/src/github.com/fernet/fernet-go/.goipath
/usr/share/gocode/src/github.com/fernet/fernet-go/cmd
/usr/share/gocode/src/github.com/fernet/fernet-go/cmd/fernet-keygen
/usr/share/gocode/src/github.com/fernet/fernet-go/cmd/fernet-keygen/main.go
/usr/share/gocode/src/github.com/fernet/fernet-go/cmd/fernet-sign
/usr/share/gocode/src/github.com/fernet/fernet-go/cmd/fernet-sign/main.go
/usr/share/gocode/src/github.com/fernet/fernet-go/example_test.go
/usr/share/gocode/src/github.com/fernet/fernet-go/fernet.go
/usr/share/gocode/src/github.com/fernet/fernet-go/fernet_test.go
/usr/share/gocode/src/github.com/fernet/fernet-go/key.go
/usr/share/gocode/src/github.com/fernet/fernet-go/key_test.go
/usr/share/licenses/golang-github-fernet-devel
/usr/share/licenses/golang-github-fernet-devel/License

References

Summary

In this tutorial we learn how to install golang-github-fernet-devel on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).