How To Install python3-policyuniverse on Fedora 36

In this tutorial we learn how to install python3-policyuniverse in Fedora 36. python3-policyuniverse is Parse and process AWS IAM policies, statements, ARNs and wildcards

Introduction

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

What is python3-policyuniverse

The PolicyUniverse package provides classes to parse AWS IAM and Resource Policies.

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

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

sudo dnf -y install python3-policyuniverse

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

sudo yum -y install python3-policyuniverse

How To Uninstall python3-policyuniverse on Fedora 36

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

sudo dnf remove python3-policyuniverse

python3-policyuniverse Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/policyuniverse
/usr/lib/python3.10/site-packages/policyuniverse-1.3.2.20201012-py3.10.egg-info
/usr/lib/python3.10/site-packages/policyuniverse-1.3.2.20201012-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/policyuniverse-1.3.2.20201012-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/policyuniverse-1.3.2.20201012-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/policyuniverse-1.3.2.20201012-py3.10.egg-info/not-zip-safe
/usr/lib/python3.10/site-packages/policyuniverse-1.3.2.20201012-py3.10.egg-info/requires.txt
/usr/lib/python3.10/site-packages/policyuniverse-1.3.2.20201012-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/policyuniverse/__init__.py
/usr/lib/python3.10/site-packages/policyuniverse/__pycache__
/usr/lib/python3.10/site-packages/policyuniverse/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/policyuniverse/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/policyuniverse/__pycache__/action.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/policyuniverse/__pycache__/action.cpython-310.pyc
/usr/lib/python3.10/site-packages/policyuniverse/__pycache__/action_categories.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/policyuniverse/__pycache__/action_categories.cpython-310.pyc
/usr/lib/python3.10/site-packages/policyuniverse/__pycache__/arn.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/policyuniverse/__pycache__/arn.cpython-310.pyc
/usr/lib/python3.10/site-packages/policyuniverse/__pycache__/expander_minimizer.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/policyuniverse/__pycache__/expander_minimizer.cpython-310.pyc
/usr/lib/python3.10/site-packages/policyuniverse/__pycache__/policy.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/policyuniverse/__pycache__/policy.cpython-310.pyc
/usr/lib/python3.10/site-packages/policyuniverse/__pycache__/statement.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/policyuniverse/__pycache__/statement.cpython-310.pyc
/usr/lib/python3.10/site-packages/policyuniverse/action.py
/usr/lib/python3.10/site-packages/policyuniverse/action_categories.py
/usr/lib/python3.10/site-packages/policyuniverse/arn.py
/usr/lib/python3.10/site-packages/policyuniverse/data.json
/usr/lib/python3.10/site-packages/policyuniverse/expander_minimizer.py
/usr/lib/python3.10/site-packages/policyuniverse/policy.py
/usr/lib/python3.10/site-packages/policyuniverse/statement.py
/usr/share/doc/python3-policyuniverse
/usr/share/doc/python3-policyuniverse/README.md
/usr/share/licenses/python3-policyuniverse
/usr/share/licenses/python3-policyuniverse/LICENSE

References

Summary

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