How To Install python3-saml on Rocky Linux 8

In this tutorial we learn how to install python3-saml on Rocky Linux 8. python3-saml is Add SAML support to your Python software using this library

Introduction

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

What is python3-saml

This toolkit lets you turn your Python application into a SP (Service Provider) that can be connected to an IdP (Identity Provider).

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

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

sudo dnf -y install python3-saml

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

sudo yum -y install python3-saml

How To Uninstall python3-saml on Rocky Linux 8

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

sudo dnf remove python3-saml

python3-saml Package Contents on Rocky Linux 8

/usr/lib/python3.6/site-packages/onelogin
/usr/lib/python3.6/site-packages/onelogin/__init__.py
/usr/lib/python3.6/site-packages/onelogin/__pycache__
/usr/lib/python3.6/site-packages/onelogin/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/onelogin/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/onelogin/saml2
/usr/lib/python3.6/site-packages/onelogin/saml2/__init__.py
/usr/lib/python3.6/site-packages/onelogin/saml2/__pycache__
/usr/lib/python3.6/site-packages/onelogin/saml2/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/onelogin/saml2/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/onelogin/saml2/__pycache__/auth.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/onelogin/saml2/__pycache__/auth.cpython-36.pyc
/usr/lib/python3.6/site-packages/onelogin/saml2/__pycache__/authn_request.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/onelogin/saml2/__pycache__/authn_request.cpython-36.pyc
/usr/lib/python3.6/site-packages/onelogin/saml2/__pycache__/compat.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/onelogin/saml2/__pycache__/compat.cpython-36.pyc
/usr/lib/python3.6/site-packages/onelogin/saml2/__pycache__/constants.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/onelogin/saml2/__pycache__/constants.cpython-36.pyc
/usr/lib/python3.6/site-packages/onelogin/saml2/__pycache__/errors.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/onelogin/saml2/__pycache__/errors.cpython-36.pyc
/usr/lib/python3.6/site-packages/onelogin/saml2/__pycache__/idp_metadata_parser.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/onelogin/saml2/__pycache__/idp_metadata_parser.cpython-36.pyc
/usr/lib/python3.6/site-packages/onelogin/saml2/__pycache__/logout_request.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/onelogin/saml2/__pycache__/logout_request.cpython-36.pyc
/usr/lib/python3.6/site-packages/onelogin/saml2/__pycache__/logout_response.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/onelogin/saml2/__pycache__/logout_response.cpython-36.pyc
/usr/lib/python3.6/site-packages/onelogin/saml2/__pycache__/metadata.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/onelogin/saml2/__pycache__/metadata.cpython-36.pyc
/usr/lib/python3.6/site-packages/onelogin/saml2/__pycache__/response.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/onelogin/saml2/__pycache__/response.cpython-36.pyc
/usr/lib/python3.6/site-packages/onelogin/saml2/__pycache__/settings.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/onelogin/saml2/__pycache__/settings.cpython-36.pyc
/usr/lib/python3.6/site-packages/onelogin/saml2/__pycache__/utils.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/onelogin/saml2/__pycache__/utils.cpython-36.pyc
/usr/lib/python3.6/site-packages/onelogin/saml2/__pycache__/xml_templates.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/onelogin/saml2/__pycache__/xml_templates.cpython-36.pyc
/usr/lib/python3.6/site-packages/onelogin/saml2/__pycache__/xml_utils.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/onelogin/saml2/__pycache__/xml_utils.cpython-36.pyc
/usr/lib/python3.6/site-packages/onelogin/saml2/auth.py
/usr/lib/python3.6/site-packages/onelogin/saml2/authn_request.py
/usr/lib/python3.6/site-packages/onelogin/saml2/compat.py
/usr/lib/python3.6/site-packages/onelogin/saml2/constants.py
/usr/lib/python3.6/site-packages/onelogin/saml2/errors.py
/usr/lib/python3.6/site-packages/onelogin/saml2/idp_metadata_parser.py
/usr/lib/python3.6/site-packages/onelogin/saml2/logout_request.py
/usr/lib/python3.6/site-packages/onelogin/saml2/logout_response.py
/usr/lib/python3.6/site-packages/onelogin/saml2/metadata.py
/usr/lib/python3.6/site-packages/onelogin/saml2/response.py
/usr/lib/python3.6/site-packages/onelogin/saml2/schemas
/usr/lib/python3.6/site-packages/onelogin/saml2/schemas/saml-schema-assertion-2.0.xsd
/usr/lib/python3.6/site-packages/onelogin/saml2/schemas/saml-schema-authn-context-2.0.xsd
/usr/lib/python3.6/site-packages/onelogin/saml2/schemas/saml-schema-authn-context-types-2.0.xsd
/usr/lib/python3.6/site-packages/onelogin/saml2/schemas/saml-schema-metadata-2.0.xsd
/usr/lib/python3.6/site-packages/onelogin/saml2/schemas/saml-schema-protocol-2.0.xsd
/usr/lib/python3.6/site-packages/onelogin/saml2/schemas/sstc-metadata-attr.xsd
/usr/lib/python3.6/site-packages/onelogin/saml2/schemas/sstc-saml-attribute-ext.xsd
/usr/lib/python3.6/site-packages/onelogin/saml2/schemas/sstc-saml-metadata-algsupport-v1.0.xsd
/usr/lib/python3.6/site-packages/onelogin/saml2/schemas/sstc-saml-metadata-ui-v1.0.xsd
/usr/lib/python3.6/site-packages/onelogin/saml2/schemas/xenc-schema.xsd
/usr/lib/python3.6/site-packages/onelogin/saml2/schemas/xml.xsd
/usr/lib/python3.6/site-packages/onelogin/saml2/schemas/xmldsig-core-schema.xsd
/usr/lib/python3.6/site-packages/onelogin/saml2/settings.py
/usr/lib/python3.6/site-packages/onelogin/saml2/utils.py
/usr/lib/python3.6/site-packages/onelogin/saml2/xml_templates.py
/usr/lib/python3.6/site-packages/onelogin/saml2/xml_utils.py
/usr/lib/python3.6/site-packages/python3_saml-1.9.0-py3.6.egg-info
/usr/lib/python3.6/site-packages/python3_saml-1.9.0-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/python3_saml-1.9.0-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/python3_saml-1.9.0-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/python3_saml-1.9.0-py3.6.egg-info/requires.txt
/usr/lib/python3.6/site-packages/python3_saml-1.9.0-py3.6.egg-info/top_level.txt
/usr/share/doc/python3-saml
/usr/share/doc/python3-saml/README.md
/usr/share/licenses/python3-saml
/usr/share/licenses/python3-saml/LICENSE

References

Summary

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