How To Install python3-tenacity on Fedora 36

In this tutorial we learn how to install python3-tenacity in Fedora 36. python3-tenacity is Tenacity is a general purpose retrying library

Introduction

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

What is python3-tenacity

Tenacity is a general-purpose retrying library, written in Python, to simplify the task of adding retry behavior to just about anything. It originates from a fork of Retrying.

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

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

sudo dnf -y install python3-tenacity

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

sudo yum -y install python3-tenacity

How To Uninstall python3-tenacity on Fedora 36

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

sudo dnf remove python3-tenacity

python3-tenacity Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/tenacity
/usr/lib/python3.10/site-packages/tenacity-8.0.1-py3.10.egg-info
/usr/lib/python3.10/site-packages/tenacity-8.0.1-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/tenacity-8.0.1-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/tenacity-8.0.1-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/tenacity-8.0.1-py3.10.egg-info/pbr.json
/usr/lib/python3.10/site-packages/tenacity-8.0.1-py3.10.egg-info/requires.txt
/usr/lib/python3.10/site-packages/tenacity-8.0.1-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/tenacity/__init__.py
/usr/lib/python3.10/site-packages/tenacity/__pycache__
/usr/lib/python3.10/site-packages/tenacity/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/tenacity/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/tenacity/__pycache__/_asyncio.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/tenacity/__pycache__/_asyncio.cpython-310.pyc
/usr/lib/python3.10/site-packages/tenacity/__pycache__/_utils.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/tenacity/__pycache__/_utils.cpython-310.pyc
/usr/lib/python3.10/site-packages/tenacity/__pycache__/after.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/tenacity/__pycache__/after.cpython-310.pyc
/usr/lib/python3.10/site-packages/tenacity/__pycache__/before.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/tenacity/__pycache__/before.cpython-310.pyc
/usr/lib/python3.10/site-packages/tenacity/__pycache__/before_sleep.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/tenacity/__pycache__/before_sleep.cpython-310.pyc
/usr/lib/python3.10/site-packages/tenacity/__pycache__/nap.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/tenacity/__pycache__/nap.cpython-310.pyc
/usr/lib/python3.10/site-packages/tenacity/__pycache__/retry.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/tenacity/__pycache__/retry.cpython-310.pyc
/usr/lib/python3.10/site-packages/tenacity/__pycache__/stop.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/tenacity/__pycache__/stop.cpython-310.pyc
/usr/lib/python3.10/site-packages/tenacity/__pycache__/tornadoweb.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/tenacity/__pycache__/tornadoweb.cpython-310.pyc
/usr/lib/python3.10/site-packages/tenacity/__pycache__/wait.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/tenacity/__pycache__/wait.cpython-310.pyc
/usr/lib/python3.10/site-packages/tenacity/_asyncio.py
/usr/lib/python3.10/site-packages/tenacity/_utils.py
/usr/lib/python3.10/site-packages/tenacity/after.py
/usr/lib/python3.10/site-packages/tenacity/before.py
/usr/lib/python3.10/site-packages/tenacity/before_sleep.py
/usr/lib/python3.10/site-packages/tenacity/nap.py
/usr/lib/python3.10/site-packages/tenacity/py.typed
/usr/lib/python3.10/site-packages/tenacity/retry.py
/usr/lib/python3.10/site-packages/tenacity/stop.py
/usr/lib/python3.10/site-packages/tenacity/tornadoweb.py
/usr/lib/python3.10/site-packages/tenacity/wait.py
/usr/share/doc/python3-tenacity
/usr/share/doc/python3-tenacity/README.rst
/usr/share/licenses/python3-tenacity
/usr/share/licenses/python3-tenacity/LICENSE

References

Summary

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