How To Install libjose on Rocky Linux 8

In this tutorial we learn how to install libjose on Rocky Linux 8. libjose is Library implementing JSON Object Signing and Encryption

Introduction

In this tutorial we learn how to install libjose on Rocky Linux 8.

What is libjose

This package contains a C library for performing JOSE operations.

We can use yum or dnf to install libjose on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libjose.

Install libjose on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install libjose

Install libjose on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install libjose

How To Uninstall libjose on Rocky Linux 8

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

sudo dnf remove libjose

libjose Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/1f
/usr/lib/.build-id/1f/e0a6fbe4bc236aff5bffd0b92d89060ab841bf
/usr/lib/libjose.so.0
/usr/lib/libjose.so.0.0.0
/usr/share/licenses/libjose
/usr/share/licenses/libjose/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/ed
/usr/lib/.build-id/ed/75fe7d977028ac720d6301d842739232058756
/usr/lib64/libjose.so.0
/usr/lib64/libjose.so.0.0.0
/usr/share/licenses/libjose
/usr/share/licenses/libjose/COPYING

References

Summary

In this tutorial we learn how to install libjose on Rocky Linux 8 using yum and dnf.