How To Install python3-types-ipaddress on Fedora 36

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

Introduction

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

What is python3-types-ipaddress

This is a PEP 561 type stub package for the ipaddress package. It can be used by type-checking tools like mypy, PyCharm, pytype etc. to check code that uses ipaddress. 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-ipaddress on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install python3-types-ipaddress.

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

sudo dnf -y install python3-types-ipaddress

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

sudo yum -y install python3-types-ipaddress

How To Uninstall python3-types-ipaddress on Fedora 36

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

sudo dnf remove python3-types-ipaddress

python3-types-ipaddress Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/ipaddress-python2-stubs
/usr/lib/python3.10/site-packages/ipaddress-python2-stubs/METADATA.toml
/usr/lib/python3.10/site-packages/ipaddress-python2-stubs/__init__.pyi
/usr/lib/python3.10/site-packages/types_ipaddress-1.0.1.dist-info
/usr/lib/python3.10/site-packages/types_ipaddress-1.0.1.dist-info/INSTALLER
/usr/lib/python3.10/site-packages/types_ipaddress-1.0.1.dist-info/METADATA
/usr/lib/python3.10/site-packages/types_ipaddress-1.0.1.dist-info/WHEEL
/usr/lib/python3.10/site-packages/types_ipaddress-1.0.1.dist-info/top_level.txt
/usr/share/doc/python3-types-ipaddress
/usr/share/doc/python3-types-ipaddress/CHANGELOG.md

References

Summary

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