How To Install libjwt on Fedora 34

libjwt is A Javascript Web Token library in C A Javascript Web Token library in C

Introduction

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

What is libjwt

A Javascript Web Token library in C libjwt 1.12.1 7.fc34 x86_64 29 k libjwt-1.12.1-7.fc34.src.rpm updates A Javascript Web Token library in C https MPLv2.0 A Javascript Web Token library in C

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

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

sudo dnf -y install libjwt

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

sudo yum -y install libjwt

How To Uninstall libjwt on Fedora 34

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

sudo dnf remove libjwt

libjwt Package Contents on Fedora 34

/usr/bin/jwtauth
/usr/bin/jwtgen
/usr/lib/.build-id
/usr/lib/.build-id/41
/usr/lib/.build-id/41/5fa8454caf37eb56883a18fdbee14c68660b44
/usr/lib/.build-id/93
/usr/lib/.build-id/93/bdbd785774744a427cc815c1d1c871c6a744fa
/usr/lib/.build-id/95
/usr/lib/.build-id/95/3a6e38e0503e187e0713ad8f510de6c3904d1a
/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
/usr/bin/jwtauth
/usr/bin/jwtgen
/usr/lib/.build-id
/usr/lib/.build-id/5f
/usr/lib/.build-id/5f/63844e6828ccac79ca4db43f20da19a748da76
/usr/lib/.build-id/77
/usr/lib/.build-id/77/588be9fb97c01bf3b851c347cdb5889e9bff02
/usr/lib/.build-id/cc
/usr/lib/.build-id/cc/da6c0303400342e19f9d7c2a383cc9222a5853
/usr/lib/libjwt.so.1
/usr/lib/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
/usr/lib/.build-id
/usr/lib/.build-id/7e
/usr/lib/.build-id/7e/1e41564d7f40e54004b051447dfa90b54f2040
/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
/usr/lib/.build-id
/usr/lib/.build-id/9e
/usr/lib/.build-id/9e/953a5bcbbd3601d30fbc8416d3e8dcf1d53127
/usr/lib/libjwt.so.1
/usr/lib/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 Fedora 34 using yum and dnf.