How To Install python3-types-pyopenssl on Fedora 36
Introduction
In this tutorial we learn how to install python3-types-pyopenssl
on Fedora 36.
What is python3-types-pyopenssl
This is a PEP 561 type stub package for the pyOpenSSL package. It can be used by type-checking tools like mypy, PyCharm, pytype etc. to check code that uses pyOpenSSL. The source for this package can be found at https types and metadata should be contributed there. See https
We can use yum
or dnf
to install python3-types-pyopenssl
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install python3-types-pyopenssl.
Install python3-types-pyopenssl 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-pyopenssl
using dnf
by running the following command:
sudo dnf -y install python3-types-pyopenssl
Install python3-types-pyopenssl 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-pyopenssl
using yum
by running the following command:
sudo yum -y install python3-types-pyopenssl
How To Uninstall python3-types-pyopenssl on Fedora 36
To uninstall only the python3-types-pyopenssl
package we can use the following command:
sudo dnf remove python3-types-pyopenssl
python3-types-pyopenssl Package Contents on Fedora 36
/usr/lib/python3.10/site-packages/OpenSSL-stubs
/usr/lib/python3.10/site-packages/OpenSSL-stubs/METADATA.toml
/usr/lib/python3.10/site-packages/OpenSSL-stubs/SSL.pyi
/usr/lib/python3.10/site-packages/OpenSSL-stubs/__init__.pyi
/usr/lib/python3.10/site-packages/OpenSSL-stubs/crypto.pyi
/usr/lib/python3.10/site-packages/types_pyOpenSSL-21.0.1.dist-info
/usr/lib/python3.10/site-packages/types_pyOpenSSL-21.0.1.dist-info/INSTALLER
/usr/lib/python3.10/site-packages/types_pyOpenSSL-21.0.1.dist-info/METADATA
/usr/lib/python3.10/site-packages/types_pyOpenSSL-21.0.1.dist-info/WHEEL
/usr/lib/python3.10/site-packages/types_pyOpenSSL-21.0.1.dist-info/top_level.txt
/usr/share/doc/python3-types-pyopenssl
/usr/share/doc/python3-types-pyopenssl/CHANGELOG.md
References
Summary
In this tutorial we learn how to install python3-types-pyopenssl
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).