How To Install jose on Fedora 34

jose is Tools for JSON Object Signing and Encryption (JOSE)

Introduction

In this tutorial we learn how to install jose on Fedora 34.

What is jose

José is a command line utility for performing various tasks on JSON Object Signing and Encryption (JOSE) objects. José provides a full crypto stack including key generation, signing and encryption.

We can use yum or dnf to install jose on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install jose.

Install jose on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install jose using dnf by running the following command:

sudo dnf -y install jose

Install jose on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install jose using yum by running the following command:

sudo yum -y install jose

How To Uninstall jose on Fedora 34

To uninstall only the jose package we can use the following command:

sudo dnf remove jose

jose Package Contents on Fedora 34

/usr/bin/jose
/usr/lib/.build-id
/usr/lib/.build-id/6d
/usr/lib/.build-id/6d/0d41f77233087c7f6a4187c0e3694c8cf6ee1c
/usr/share/man/man1/jose-alg.1.gz
/usr/share/man/man1/jose-b64-dec.1.gz
/usr/share/man/man1/jose-b64-enc.1.gz
/usr/share/man/man1/jose-fmt.1.gz
/usr/share/man/man1/jose-jwe-dec.1.gz
/usr/share/man/man1/jose-jwe-enc.1.gz
/usr/share/man/man1/jose-jwe-fmt.1.gz
/usr/share/man/man1/jose-jwk-exc.1.gz
/usr/share/man/man1/jose-jwk-gen.1.gz
/usr/share/man/man1/jose-jwk-pub.1.gz
/usr/share/man/man1/jose-jwk-thp.1.gz
/usr/share/man/man1/jose-jwk-use.1.gz
/usr/share/man/man1/jose-jws-fmt.1.gz
/usr/share/man/man1/jose-jws-sig.1.gz
/usr/share/man/man1/jose-jws-ver.1.gz
/usr/share/man/man1/jose.1.gz
/usr/bin/jose
/usr/lib/.build-id
/usr/lib/.build-id/de
/usr/lib/.build-id/de/8078f7caf9bd5ab40ffba5c1b6ad9225bc4703
/usr/share/licenses/jose
/usr/share/licenses/jose/COPYING
/usr/share/man/man1/jose-alg.1.gz
/usr/share/man/man1/jose-b64-dec.1.gz
/usr/share/man/man1/jose-b64-enc.1.gz
/usr/share/man/man1/jose-fmt.1.gz
/usr/share/man/man1/jose-jwe-dec.1.gz
/usr/share/man/man1/jose-jwe-enc.1.gz
/usr/share/man/man1/jose-jwe-fmt.1.gz
/usr/share/man/man1/jose-jwk-eql.1.gz
/usr/share/man/man1/jose-jwk-exc.1.gz
/usr/share/man/man1/jose-jwk-gen.1.gz
/usr/share/man/man1/jose-jwk-pub.1.gz
/usr/share/man/man1/jose-jwk-thp.1.gz
/usr/share/man/man1/jose-jwk-use.1.gz
/usr/share/man/man1/jose-jws-fmt.1.gz
/usr/share/man/man1/jose-jws-sig.1.gz
/usr/share/man/man1/jose-jws-ver.1.gz
/usr/share/man/man1/jose.1.gz

References

Summary

In this tutorial we learn how to install jose on Fedora 34 using yum and dnf.