How To Install python3-promise on Fedora 36

In this tutorial we learn how to install python3-promise in Fedora 36. python3-promise is Promises/A+ implementation for Python

Introduction

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

What is python3-promise

This is a implementation of Promises in Python. It is a super set of Promises/A+ designed to have readable, performant code and to provide just the extensions that are absolutely necessary for using promises in Python. It’s fully compatible with the Promises/A+ spec.

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

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

sudo dnf -y install python3-promise

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

sudo yum -y install python3-promise

How To Uninstall python3-promise on Fedora 36

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

sudo dnf remove python3-promise

python3-promise Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/promise
/usr/lib/python3.10/site-packages/promise-2.3-py3.10.egg-info
/usr/lib/python3.10/site-packages/promise-2.3-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/promise-2.3-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/promise-2.3-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/promise-2.3-py3.10.egg-info/requires.txt
/usr/lib/python3.10/site-packages/promise-2.3-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/promise/__init__.py
/usr/lib/python3.10/site-packages/promise/__pycache__
/usr/lib/python3.10/site-packages/promise/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/promise/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/promise/__pycache__/async_.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/promise/__pycache__/async_.cpython-310.pyc
/usr/lib/python3.10/site-packages/promise/__pycache__/compat.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/promise/__pycache__/compat.cpython-310.pyc
/usr/lib/python3.10/site-packages/promise/__pycache__/dataloader.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/promise/__pycache__/dataloader.cpython-310.pyc
/usr/lib/python3.10/site-packages/promise/__pycache__/iterate_promise.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/promise/__pycache__/iterate_promise.cpython-310.pyc
/usr/lib/python3.10/site-packages/promise/__pycache__/promise.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/promise/__pycache__/promise.cpython-310.pyc
/usr/lib/python3.10/site-packages/promise/__pycache__/promise_list.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/promise/__pycache__/promise_list.cpython-310.pyc
/usr/lib/python3.10/site-packages/promise/__pycache__/utils.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/promise/__pycache__/utils.cpython-310.pyc
/usr/lib/python3.10/site-packages/promise/async_.py
/usr/lib/python3.10/site-packages/promise/compat.py
/usr/lib/python3.10/site-packages/promise/dataloader.py
/usr/lib/python3.10/site-packages/promise/iterate_promise.py
/usr/lib/python3.10/site-packages/promise/promise.py
/usr/lib/python3.10/site-packages/promise/promise_list.py
/usr/lib/python3.10/site-packages/promise/py.typed
/usr/lib/python3.10/site-packages/promise/pyutils
/usr/lib/python3.10/site-packages/promise/pyutils/__init__.py
/usr/lib/python3.10/site-packages/promise/pyutils/__pycache__
/usr/lib/python3.10/site-packages/promise/pyutils/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/promise/pyutils/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/promise/pyutils/__pycache__/version.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/promise/pyutils/__pycache__/version.cpython-310.pyc
/usr/lib/python3.10/site-packages/promise/pyutils/version.py
/usr/lib/python3.10/site-packages/promise/schedulers
/usr/lib/python3.10/site-packages/promise/schedulers/__init__.py
/usr/lib/python3.10/site-packages/promise/schedulers/__pycache__
/usr/lib/python3.10/site-packages/promise/schedulers/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/promise/schedulers/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/promise/schedulers/__pycache__/asyncio.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/promise/schedulers/__pycache__/asyncio.cpython-310.pyc
/usr/lib/python3.10/site-packages/promise/schedulers/__pycache__/gevent.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/promise/schedulers/__pycache__/gevent.cpython-310.pyc
/usr/lib/python3.10/site-packages/promise/schedulers/__pycache__/immediate.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/promise/schedulers/__pycache__/immediate.cpython-310.pyc
/usr/lib/python3.10/site-packages/promise/schedulers/__pycache__/thread.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/promise/schedulers/__pycache__/thread.cpython-310.pyc
/usr/lib/python3.10/site-packages/promise/schedulers/asyncio.py
/usr/lib/python3.10/site-packages/promise/schedulers/gevent.py
/usr/lib/python3.10/site-packages/promise/schedulers/immediate.py
/usr/lib/python3.10/site-packages/promise/schedulers/thread.py
/usr/lib/python3.10/site-packages/promise/utils.py
/usr/share/doc/python3-promise
/usr/share/doc/python3-promise/README.rst
/usr/share/licenses/python3-promise
/usr/share/licenses/python3-promise/LICENSE

References

Summary

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