How To Install python3-josepy on Rocky Linux 8

In this tutorial we learn how to install python3-josepy on Rocky Linux 8. python3-josepy is JOSE protocol implementation in Python

Introduction

In this tutorial we learn how to install python3-josepy on Rocky Linux 8.

What is python3-josepy

JOSE protocol implementation in Python using cryptography. This is the Python 3 version of the package.

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

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

sudo dnf -y install python3-josepy

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

sudo yum -y install python3-josepy

How To Uninstall python3-josepy on Rocky Linux 8

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

sudo dnf remove python3-josepy

python3-josepy Package Contents on Rocky Linux 8

/usr/bin/jws
/usr/lib/python3.6/site-packages/josepy
/usr/lib/python3.6/site-packages/josepy-1.8.0-py3.6.egg-info
/usr/lib/python3.6/site-packages/josepy-1.8.0-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/josepy-1.8.0-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/josepy-1.8.0-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/josepy-1.8.0-py3.6.egg-info/entry_points.txt
/usr/lib/python3.6/site-packages/josepy-1.8.0-py3.6.egg-info/requires.txt
/usr/lib/python3.6/site-packages/josepy-1.8.0-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/josepy/__init__.py
/usr/lib/python3.6/site-packages/josepy/__pycache__
/usr/lib/python3.6/site-packages/josepy/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/josepy/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/josepy/__pycache__/b64.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/josepy/__pycache__/b64.cpython-36.pyc
/usr/lib/python3.6/site-packages/josepy/__pycache__/b64_test.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/josepy/__pycache__/b64_test.cpython-36.pyc
/usr/lib/python3.6/site-packages/josepy/__pycache__/errors.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/josepy/__pycache__/errors.cpython-36.pyc
/usr/lib/python3.6/site-packages/josepy/__pycache__/errors_test.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/josepy/__pycache__/errors_test.cpython-36.pyc
/usr/lib/python3.6/site-packages/josepy/__pycache__/interfaces.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/josepy/__pycache__/interfaces.cpython-36.pyc
/usr/lib/python3.6/site-packages/josepy/__pycache__/interfaces_test.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/josepy/__pycache__/interfaces_test.cpython-36.pyc
/usr/lib/python3.6/site-packages/josepy/__pycache__/json_util.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/josepy/__pycache__/json_util.cpython-36.pyc
/usr/lib/python3.6/site-packages/josepy/__pycache__/json_util_test.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/josepy/__pycache__/json_util_test.cpython-36.pyc
/usr/lib/python3.6/site-packages/josepy/__pycache__/jwa.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/josepy/__pycache__/jwa.cpython-36.pyc
/usr/lib/python3.6/site-packages/josepy/__pycache__/jwa_test.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/josepy/__pycache__/jwa_test.cpython-36.pyc
/usr/lib/python3.6/site-packages/josepy/__pycache__/jwk.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/josepy/__pycache__/jwk.cpython-36.pyc
/usr/lib/python3.6/site-packages/josepy/__pycache__/jwk_test.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/josepy/__pycache__/jwk_test.cpython-36.pyc
/usr/lib/python3.6/site-packages/josepy/__pycache__/jws.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/josepy/__pycache__/jws.cpython-36.pyc
/usr/lib/python3.6/site-packages/josepy/__pycache__/jws_test.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/josepy/__pycache__/jws_test.cpython-36.pyc
/usr/lib/python3.6/site-packages/josepy/__pycache__/magic_typing.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/josepy/__pycache__/magic_typing.cpython-36.pyc
/usr/lib/python3.6/site-packages/josepy/__pycache__/magic_typing_test.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/josepy/__pycache__/magic_typing_test.cpython-36.pyc
/usr/lib/python3.6/site-packages/josepy/__pycache__/test_util.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/josepy/__pycache__/test_util.cpython-36.pyc
/usr/lib/python3.6/site-packages/josepy/__pycache__/util.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/josepy/__pycache__/util.cpython-36.pyc
/usr/lib/python3.6/site-packages/josepy/__pycache__/util_test.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/josepy/__pycache__/util_test.cpython-36.pyc
/usr/lib/python3.6/site-packages/josepy/b64.py
/usr/lib/python3.6/site-packages/josepy/b64_test.py
/usr/lib/python3.6/site-packages/josepy/errors.py
/usr/lib/python3.6/site-packages/josepy/errors_test.py
/usr/lib/python3.6/site-packages/josepy/interfaces.py
/usr/lib/python3.6/site-packages/josepy/interfaces_test.py
/usr/lib/python3.6/site-packages/josepy/json_util.py
/usr/lib/python3.6/site-packages/josepy/json_util_test.py
/usr/lib/python3.6/site-packages/josepy/jwa.py
/usr/lib/python3.6/site-packages/josepy/jwa_test.py
/usr/lib/python3.6/site-packages/josepy/jwk.py
/usr/lib/python3.6/site-packages/josepy/jwk_test.py
/usr/lib/python3.6/site-packages/josepy/jws.py
/usr/lib/python3.6/site-packages/josepy/jws_test.py
/usr/lib/python3.6/site-packages/josepy/magic_typing.py
/usr/lib/python3.6/site-packages/josepy/magic_typing_test.py
/usr/lib/python3.6/site-packages/josepy/test_util.py
/usr/lib/python3.6/site-packages/josepy/testdata
/usr/lib/python3.6/site-packages/josepy/testdata/README
/usr/lib/python3.6/site-packages/josepy/testdata/cert-100sans.pem
/usr/lib/python3.6/site-packages/josepy/testdata/cert-idnsans.pem
/usr/lib/python3.6/site-packages/josepy/testdata/cert-san.pem
/usr/lib/python3.6/site-packages/josepy/testdata/cert.der
/usr/lib/python3.6/site-packages/josepy/testdata/cert.pem
/usr/lib/python3.6/site-packages/josepy/testdata/critical-san.pem
/usr/lib/python3.6/site-packages/josepy/testdata/csr-100sans.pem
/usr/lib/python3.6/site-packages/josepy/testdata/csr-6sans.pem
/usr/lib/python3.6/site-packages/josepy/testdata/csr-idnsans.pem
/usr/lib/python3.6/site-packages/josepy/testdata/csr-nosans.pem
/usr/lib/python3.6/site-packages/josepy/testdata/csr-san.pem
/usr/lib/python3.6/site-packages/josepy/testdata/csr.der
/usr/lib/python3.6/site-packages/josepy/testdata/csr.pem
/usr/lib/python3.6/site-packages/josepy/testdata/dsa512_key.pem
/usr/lib/python3.6/site-packages/josepy/testdata/ec_p256_key.pem
/usr/lib/python3.6/site-packages/josepy/testdata/ec_p384_key.pem
/usr/lib/python3.6/site-packages/josepy/testdata/ec_p521_key.pem
/usr/lib/python3.6/site-packages/josepy/testdata/rsa1024_key.pem
/usr/lib/python3.6/site-packages/josepy/testdata/rsa2048_cert.pem
/usr/lib/python3.6/site-packages/josepy/testdata/rsa2048_key.pem
/usr/lib/python3.6/site-packages/josepy/testdata/rsa256_key.pem
/usr/lib/python3.6/site-packages/josepy/testdata/rsa512_key.pem
/usr/lib/python3.6/site-packages/josepy/util.py
/usr/lib/python3.6/site-packages/josepy/util_test.py
/usr/share/doc/python3-josepy
/usr/share/doc/python3-josepy/README.rst
/usr/share/licenses/python3-josepy
/usr/share/licenses/python3-josepy/LICENSE.txt

References

Summary

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