How To Install python3-types-pyyaml on Fedora 36

In this tutorial we learn how to install python3-types-pyyaml in Fedora 36. python3-types-pyyaml is Typing stubs for PyYAML

Introduction

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

What is python3-types-pyyaml

This is a PEP 561 type stub package for the PyYAML package. It can be used by type-checking tools like mypy, PyCharm, pytype etc. to check code that uses PyYAML. The source for this package can be found at https and metadata should be contributed there. See https

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

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

sudo dnf -y install python3-types-pyyaml

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

sudo yum -y install python3-types-pyyaml

How To Uninstall python3-types-pyyaml on Fedora 36

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

sudo dnf remove python3-types-pyyaml

python3-types-pyyaml Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/types_PyYAML-6.0.1.dist-info
/usr/lib/python3.10/site-packages/types_PyYAML-6.0.1.dist-info/INSTALLER
/usr/lib/python3.10/site-packages/types_PyYAML-6.0.1.dist-info/METADATA
/usr/lib/python3.10/site-packages/types_PyYAML-6.0.1.dist-info/WHEEL
/usr/lib/python3.10/site-packages/types_PyYAML-6.0.1.dist-info/top_level.txt
/usr/lib/python3.10/site-packages/yaml-stubs
/usr/lib/python3.10/site-packages/yaml-stubs/METADATA.toml
/usr/lib/python3.10/site-packages/yaml-stubs/__init__.pyi
/usr/lib/python3.10/site-packages/yaml-stubs/_yaml.pyi
/usr/lib/python3.10/site-packages/yaml-stubs/composer.pyi
/usr/lib/python3.10/site-packages/yaml-stubs/constructor.pyi
/usr/lib/python3.10/site-packages/yaml-stubs/cyaml.pyi
/usr/lib/python3.10/site-packages/yaml-stubs/dumper.pyi
/usr/lib/python3.10/site-packages/yaml-stubs/emitter.pyi
/usr/lib/python3.10/site-packages/yaml-stubs/error.pyi
/usr/lib/python3.10/site-packages/yaml-stubs/events.pyi
/usr/lib/python3.10/site-packages/yaml-stubs/loader.pyi
/usr/lib/python3.10/site-packages/yaml-stubs/nodes.pyi
/usr/lib/python3.10/site-packages/yaml-stubs/parser.pyi
/usr/lib/python3.10/site-packages/yaml-stubs/reader.pyi
/usr/lib/python3.10/site-packages/yaml-stubs/representer.pyi
/usr/lib/python3.10/site-packages/yaml-stubs/resolver.pyi
/usr/lib/python3.10/site-packages/yaml-stubs/scanner.pyi
/usr/lib/python3.10/site-packages/yaml-stubs/serializer.pyi
/usr/lib/python3.10/site-packages/yaml-stubs/tokens.pyi
/usr/share/doc/python3-types-pyyaml
/usr/share/doc/python3-types-pyyaml/CHANGELOG.md

References

Summary

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