How To Install golang-gopkg-square-jose-2 on Fedora 36

In this tutorial we learn how to install golang-gopkg-square-jose-2 in Fedora 36. golang-gopkg-square-jose-2 is Implementation of JOSE standards (JWE, JWS, JWT) in Go

Introduction

In this tutorial we learn how to install golang-gopkg-square-jose-2 on Fedora 36.

What is golang-gopkg-square-jose-2

Package jose aims to provide an implementation of the Javascript Object Signing and Encryption set of standards. This includes support for JSON Web Encryption, JSON Web Signature, and JSON Web Token standards.

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

Install golang-gopkg-square-jose-2 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-gopkg-square-jose-2 using dnf by running the following command:

sudo dnf -y install golang-gopkg-square-jose-2

Install golang-gopkg-square-jose-2 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-gopkg-square-jose-2 using yum by running the following command:

sudo yum -y install golang-gopkg-square-jose-2

How To Uninstall golang-gopkg-square-jose-2 on Fedora 36

To uninstall only the golang-gopkg-square-jose-2 package we can use the following command:

sudo dnf remove golang-gopkg-square-jose-2

golang-gopkg-square-jose-2 Package Contents on Fedora 36

/usr/bin/jose-util
/usr/bin/jwk-keygen
/usr/lib/.build-id
/usr/lib/.build-id/21
/usr/lib/.build-id/21/7a425352702424dfe2d9be58d75868085dc05b
/usr/lib/.build-id/f6
/usr/lib/.build-id/f6/e467c2686f8a7057ff2e122f28c886816ce676
/usr/share/doc/golang-gopkg-square-jose-2
/usr/share/doc/golang-gopkg-square-jose-2/BUG-BOUNTY.md
/usr/share/doc/golang-gopkg-square-jose-2/CONTRIBUTING.md
/usr/share/doc/golang-gopkg-square-jose-2/README-jose-util.md
/usr/share/doc/golang-gopkg-square-jose-2/README-json.md
/usr/share/doc/golang-gopkg-square-jose-2/README-jwk-keygen.md
/usr/share/doc/golang-gopkg-square-jose-2/README.md
/usr/share/licenses/golang-gopkg-square-jose-2
/usr/share/licenses/golang-gopkg-square-jose-2/LICENSE
/usr/share/licenses/golang-gopkg-square-jose-2/LICENSE-json

References

Summary

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