How To Install python3-jwt on Fedora 36

In this tutorial we learn how to install python3-jwt in Fedora 36. python3-jwt is JSON Web Token implementation in Python

Introduction

In this tutorial we learn how to install python3-jwt on Fedora 36.

What is python3-jwt

A Python implementation of JSON Web Token draft 01. This library provides a means of representing signed content using JSON data structures, including claims to be transferred between two parties encoded as digitally signed and encrypted JSON objects.

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

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

sudo dnf -y install python3-jwt

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

sudo yum -y install python3-jwt

How To Uninstall python3-jwt on Fedora 36

To uninstall only the python3-jwt package we can use the following command:

sudo dnf remove python3-jwt

python3-jwt Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/PyJWT-2.3.0-py3.10.egg-info
/usr/lib/python3.10/site-packages/PyJWT-2.3.0-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/PyJWT-2.3.0-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/PyJWT-2.3.0-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/PyJWT-2.3.0-py3.10.egg-info/not-zip-safe
/usr/lib/python3.10/site-packages/PyJWT-2.3.0-py3.10.egg-info/requires.txt
/usr/lib/python3.10/site-packages/PyJWT-2.3.0-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/jwt
/usr/lib/python3.10/site-packages/jwt/__init__.py
/usr/lib/python3.10/site-packages/jwt/__pycache__
/usr/lib/python3.10/site-packages/jwt/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/jwt/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/jwt/__pycache__/algorithms.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/jwt/__pycache__/algorithms.cpython-310.pyc
/usr/lib/python3.10/site-packages/jwt/__pycache__/api_jwk.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/jwt/__pycache__/api_jwk.cpython-310.pyc
/usr/lib/python3.10/site-packages/jwt/__pycache__/api_jws.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/jwt/__pycache__/api_jws.cpython-310.pyc
/usr/lib/python3.10/site-packages/jwt/__pycache__/api_jwt.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/jwt/__pycache__/api_jwt.cpython-310.pyc
/usr/lib/python3.10/site-packages/jwt/__pycache__/exceptions.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/jwt/__pycache__/exceptions.cpython-310.pyc
/usr/lib/python3.10/site-packages/jwt/__pycache__/help.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/jwt/__pycache__/help.cpython-310.pyc
/usr/lib/python3.10/site-packages/jwt/__pycache__/jwks_client.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/jwt/__pycache__/jwks_client.cpython-310.pyc
/usr/lib/python3.10/site-packages/jwt/__pycache__/utils.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/jwt/__pycache__/utils.cpython-310.pyc
/usr/lib/python3.10/site-packages/jwt/algorithms.py
/usr/lib/python3.10/site-packages/jwt/api_jwk.py
/usr/lib/python3.10/site-packages/jwt/api_jws.py
/usr/lib/python3.10/site-packages/jwt/api_jwt.py
/usr/lib/python3.10/site-packages/jwt/exceptions.py
/usr/lib/python3.10/site-packages/jwt/help.py
/usr/lib/python3.10/site-packages/jwt/jwks_client.py
/usr/lib/python3.10/site-packages/jwt/py.typed
/usr/lib/python3.10/site-packages/jwt/utils.py
/usr/share/doc/python3-jwt
/usr/share/doc/python3-jwt/AUTHORS.rst
/usr/share/doc/python3-jwt/README.rst
/usr/share/licenses/python3-jwt
/usr/share/licenses/python3-jwt/LICENSE

References

Summary

In this tutorial we learn how to install python3-jwt on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).