How To Install golang-github-jwt on Fedora 36

In this tutorial we learn how to install golang-github-jwt in Fedora 36. golang-github-jwt is A go implementation of JSON Web Tokens

Introduction

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

What is golang-github-jwt

A go implementation of JSON Web Tokens. Supports the parsing and verification, as well as the generation and signing of JWTs.

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

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

sudo dnf -y install golang-github-jwt

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

sudo yum -y install golang-github-jwt

How To Uninstall golang-github-jwt on Fedora 36

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

sudo dnf remove golang-github-jwt

golang-github-jwt Package Contents on Fedora 36

/usr/bin/jwt
/usr/lib/.build-id
/usr/lib/.build-id/22
/usr/lib/.build-id/22/c6b6f4ca61dc06a6e77f791d3d6a16b1c8d879
/usr/share/doc/golang-github-jwt
/usr/share/doc/golang-github-jwt/MIGRATION_GUIDE.md
/usr/share/doc/golang-github-jwt/README-jwt.md
/usr/share/doc/golang-github-jwt/README.md
/usr/share/doc/golang-github-jwt/VERSION_HISTORY.md
/usr/share/licenses/golang-github-jwt
/usr/share/licenses/golang-github-jwt/LICENSE

References

Summary

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