How To Install libjwt on Rocky Linux 8

In this tutorial we learn how to install libjwt on Rocky Linux 8. libjwt is A Javascript Web Token library in C

Introduction

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

What is libjwt

A Javascript Web Token library in C

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

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

sudo dnf -y install libjwt

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

sudo yum -y install libjwt

How To Uninstall libjwt on Rocky Linux 8

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

sudo dnf remove libjwt

libjwt Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/d2
/usr/lib/.build-id/d2/49ee9fd51356430ca2104aec0e5f0650505074
/usr/lib64/libjwt.so.1
/usr/lib64/libjwt.so.1.7.0
/usr/share/doc/libjwt
/usr/share/doc/libjwt/README.cmake.md
/usr/share/doc/libjwt/README.md
/usr/share/licenses/libjwt
/usr/share/licenses/libjwt/LICENSE

References

Summary

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