How To Install python3-strictyaml on Fedora 36

In this tutorial we learn how to install python3-strictyaml in Fedora 36. python3-strictyaml is Parses and validates a restricted subset of YAML

Introduction

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

What is python3-strictyaml

StrictYAML is a type-safe YAML parser that parses and validates a restricted subset of the YAML specification. Priorities • Beautiful API • Refusing to parse the ugly, hard to read and insecure features of YAML like the Norway problem. • Strict validation of markup and straightforward type casting. • Clear, readable exceptions with code snippets and line numbers. • Acting as a near-drop in replacement for pyyaml, ruamel.yaml or poyo. • Ability to read in YAML, make changes and write it out again with comments preserved. • Not speed, currently.

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

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

sudo dnf -y install python3-strictyaml

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

sudo yum -y install python3-strictyaml

How To Uninstall python3-strictyaml on Fedora 36

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

sudo dnf remove python3-strictyaml

python3-strictyaml Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/strictyaml
/usr/lib/python3.10/site-packages/strictyaml-1.6.1.dist-info
/usr/lib/python3.10/site-packages/strictyaml-1.6.1.dist-info/INSTALLER
/usr/lib/python3.10/site-packages/strictyaml-1.6.1.dist-info/LICENSE-ruamel-yaml
/usr/lib/python3.10/site-packages/strictyaml-1.6.1.dist-info/LICENSE.txt
/usr/lib/python3.10/site-packages/strictyaml-1.6.1.dist-info/METADATA
/usr/lib/python3.10/site-packages/strictyaml-1.6.1.dist-info/WHEEL
/usr/lib/python3.10/site-packages/strictyaml-1.6.1.dist-info/top_level.txt
/usr/lib/python3.10/site-packages/strictyaml/__init__.py
/usr/lib/python3.10/site-packages/strictyaml/__pycache__
/usr/lib/python3.10/site-packages/strictyaml/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/strictyaml/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/strictyaml/__pycache__/any_validator.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/strictyaml/__pycache__/any_validator.cpython-310.pyc
/usr/lib/python3.10/site-packages/strictyaml/__pycache__/compound.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/strictyaml/__pycache__/compound.cpython-310.pyc
/usr/lib/python3.10/site-packages/strictyaml/__pycache__/constants.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/strictyaml/__pycache__/constants.cpython-310.pyc
/usr/lib/python3.10/site-packages/strictyaml/__pycache__/dumper.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/strictyaml/__pycache__/dumper.cpython-310.pyc
/usr/lib/python3.10/site-packages/strictyaml/__pycache__/exceptions.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/strictyaml/__pycache__/exceptions.cpython-310.pyc
/usr/lib/python3.10/site-packages/strictyaml/__pycache__/parser.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/strictyaml/__pycache__/parser.cpython-310.pyc
/usr/lib/python3.10/site-packages/strictyaml/__pycache__/representation.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/strictyaml/__pycache__/representation.cpython-310.pyc
/usr/lib/python3.10/site-packages/strictyaml/__pycache__/scalar.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/strictyaml/__pycache__/scalar.cpython-310.pyc
/usr/lib/python3.10/site-packages/strictyaml/__pycache__/utils.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/strictyaml/__pycache__/utils.cpython-310.pyc
/usr/lib/python3.10/site-packages/strictyaml/__pycache__/validators.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/strictyaml/__pycache__/validators.cpython-310.pyc
/usr/lib/python3.10/site-packages/strictyaml/__pycache__/yamllocation.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/strictyaml/__pycache__/yamllocation.cpython-310.pyc
/usr/lib/python3.10/site-packages/strictyaml/__pycache__/yamlpointer.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/strictyaml/__pycache__/yamlpointer.cpython-310.pyc
/usr/lib/python3.10/site-packages/strictyaml/any_validator.py
/usr/lib/python3.10/site-packages/strictyaml/compound.py
/usr/lib/python3.10/site-packages/strictyaml/constants.py
/usr/lib/python3.10/site-packages/strictyaml/dumper.py
/usr/lib/python3.10/site-packages/strictyaml/exceptions.py
/usr/lib/python3.10/site-packages/strictyaml/parser.py
/usr/lib/python3.10/site-packages/strictyaml/representation.py
/usr/lib/python3.10/site-packages/strictyaml/ruamel
/usr/lib/python3.10/site-packages/strictyaml/ruamel/__init__.py
/usr/lib/python3.10/site-packages/strictyaml/ruamel/__pycache__
/usr/lib/python3.10/site-packages/strictyaml/ruamel/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/strictyaml/ruamel/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/strictyaml/ruamel/__pycache__/anchor.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/strictyaml/ruamel/__pycache__/anchor.cpython-310.pyc
/usr/lib/python3.10/site-packages/strictyaml/ruamel/__pycache__/comments.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/strictyaml/ruamel/__pycache__/comments.cpython-310.pyc
/usr/lib/python3.10/site-packages/strictyaml/ruamel/__pycache__/compat.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/strictyaml/ruamel/__pycache__/compat.cpython-310.pyc
/usr/lib/python3.10/site-packages/strictyaml/ruamel/__pycache__/composer.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/strictyaml/ruamel/__pycache__/composer.cpython-310.pyc
/usr/lib/python3.10/site-packages/strictyaml/ruamel/__pycache__/configobjwalker.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/strictyaml/ruamel/__pycache__/configobjwalker.cpython-310.pyc
/usr/lib/python3.10/site-packages/strictyaml/ruamel/__pycache__/constructor.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/strictyaml/ruamel/__pycache__/constructor.cpython-310.pyc
/usr/lib/python3.10/site-packages/strictyaml/ruamel/__pycache__/cyaml.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/strictyaml/ruamel/__pycache__/cyaml.cpython-310.pyc
/usr/lib/python3.10/site-packages/strictyaml/ruamel/__pycache__/dumper.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/strictyaml/ruamel/__pycache__/dumper.cpython-310.pyc
/usr/lib/python3.10/site-packages/strictyaml/ruamel/__pycache__/emitter.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/strictyaml/ruamel/__pycache__/emitter.cpython-310.pyc
/usr/lib/python3.10/site-packages/strictyaml/ruamel/__pycache__/error.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/strictyaml/ruamel/__pycache__/error.cpython-310.pyc
/usr/lib/python3.10/site-packages/strictyaml/ruamel/__pycache__/events.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/strictyaml/ruamel/__pycache__/events.cpython-310.pyc
/usr/lib/python3.10/site-packages/strictyaml/ruamel/__pycache__/loader.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/strictyaml/ruamel/__pycache__/loader.cpython-310.pyc
/usr/lib/python3.10/site-packages/strictyaml/ruamel/__pycache__/main.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/strictyaml/ruamel/__pycache__/main.cpython-310.pyc
/usr/lib/python3.10/site-packages/strictyaml/ruamel/__pycache__/nodes.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/strictyaml/ruamel/__pycache__/nodes.cpython-310.pyc
/usr/lib/python3.10/site-packages/strictyaml/ruamel/__pycache__/parser.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/strictyaml/ruamel/__pycache__/parser.cpython-310.pyc
/usr/lib/python3.10/site-packages/strictyaml/ruamel/__pycache__/reader.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/strictyaml/ruamel/__pycache__/reader.cpython-310.pyc
/usr/lib/python3.10/site-packages/strictyaml/ruamel/__pycache__/representer.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/strictyaml/ruamel/__pycache__/representer.cpython-310.pyc
/usr/lib/python3.10/site-packages/strictyaml/ruamel/__pycache__/resolver.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/strictyaml/ruamel/__pycache__/resolver.cpython-310.pyc
/usr/lib/python3.10/site-packages/strictyaml/ruamel/__pycache__/scalarbool.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/strictyaml/ruamel/__pycache__/scalarbool.cpython-310.pyc
/usr/lib/python3.10/site-packages/strictyaml/ruamel/__pycache__/scalarfloat.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/strictyaml/ruamel/__pycache__/scalarfloat.cpython-310.pyc
/usr/lib/python3.10/site-packages/strictyaml/ruamel/__pycache__/scalarint.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/strictyaml/ruamel/__pycache__/scalarint.cpython-310.pyc
/usr/lib/python3.10/site-packages/strictyaml/ruamel/__pycache__/scalarstring.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/strictyaml/ruamel/__pycache__/scalarstring.cpython-310.pyc
/usr/lib/python3.10/site-packages/strictyaml/ruamel/__pycache__/scanner.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/strictyaml/ruamel/__pycache__/scanner.cpython-310.pyc
/usr/lib/python3.10/site-packages/strictyaml/ruamel/__pycache__/serializer.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/strictyaml/ruamel/__pycache__/serializer.cpython-310.pyc
/usr/lib/python3.10/site-packages/strictyaml/ruamel/__pycache__/timestamp.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/strictyaml/ruamel/__pycache__/timestamp.cpython-310.pyc
/usr/lib/python3.10/site-packages/strictyaml/ruamel/__pycache__/tokens.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/strictyaml/ruamel/__pycache__/tokens.cpython-310.pyc
/usr/lib/python3.10/site-packages/strictyaml/ruamel/__pycache__/util.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/strictyaml/ruamel/__pycache__/util.cpython-310.pyc
/usr/lib/python3.10/site-packages/strictyaml/ruamel/anchor.py
/usr/lib/python3.10/site-packages/strictyaml/ruamel/comments.py
/usr/lib/python3.10/site-packages/strictyaml/ruamel/compat.py
/usr/lib/python3.10/site-packages/strictyaml/ruamel/composer.py
/usr/lib/python3.10/site-packages/strictyaml/ruamel/configobjwalker.py
/usr/lib/python3.10/site-packages/strictyaml/ruamel/constructor.py
/usr/lib/python3.10/site-packages/strictyaml/ruamel/cyaml.py
/usr/lib/python3.10/site-packages/strictyaml/ruamel/dumper.py
/usr/lib/python3.10/site-packages/strictyaml/ruamel/emitter.py
/usr/lib/python3.10/site-packages/strictyaml/ruamel/error.py
/usr/lib/python3.10/site-packages/strictyaml/ruamel/events.py
/usr/lib/python3.10/site-packages/strictyaml/ruamel/loader.py
/usr/lib/python3.10/site-packages/strictyaml/ruamel/main.py
/usr/lib/python3.10/site-packages/strictyaml/ruamel/nodes.py
/usr/lib/python3.10/site-packages/strictyaml/ruamel/parser.py
/usr/lib/python3.10/site-packages/strictyaml/ruamel/reader.py
/usr/lib/python3.10/site-packages/strictyaml/ruamel/representer.py
/usr/lib/python3.10/site-packages/strictyaml/ruamel/resolver.py
/usr/lib/python3.10/site-packages/strictyaml/ruamel/scalarbool.py
/usr/lib/python3.10/site-packages/strictyaml/ruamel/scalarfloat.py
/usr/lib/python3.10/site-packages/strictyaml/ruamel/scalarint.py
/usr/lib/python3.10/site-packages/strictyaml/ruamel/scalarstring.py
/usr/lib/python3.10/site-packages/strictyaml/ruamel/scanner.py
/usr/lib/python3.10/site-packages/strictyaml/ruamel/serializer.py
/usr/lib/python3.10/site-packages/strictyaml/ruamel/timestamp.py
/usr/lib/python3.10/site-packages/strictyaml/ruamel/tokens.py
/usr/lib/python3.10/site-packages/strictyaml/ruamel/util.py
/usr/lib/python3.10/site-packages/strictyaml/scalar.py
/usr/lib/python3.10/site-packages/strictyaml/utils.py
/usr/lib/python3.10/site-packages/strictyaml/validators.py
/usr/lib/python3.10/site-packages/strictyaml/yamllocation.py
/usr/lib/python3.10/site-packages/strictyaml/yamlpointer.py
/usr/share/doc/python3-strictyaml
/usr/share/doc/python3-strictyaml/CHANGELOG.md
/usr/share/doc/python3-strictyaml/README.md
/usr/share/licenses/python3-strictyaml
/usr/share/licenses/python3-strictyaml/LICENSE-ruamel-yaml
/usr/share/licenses/python3-strictyaml/LICENSE.txt

References

Summary

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