How To Install python3-pypubsub on Fedora 36

In this tutorial we learn how to install python3-pypubsub in Fedora 36. python3-pypubsub is Python Publish-Subscribe Package

Introduction

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

What is python3-pypubsub

PyPubSub provides a publish - subscribe API that facilitates the development of event-based / message-based applications. PyPubSub supports sending and receiving messages between objects of an application. It is centered on the notion of a topic; senders publish messages of a given topic, and listeners subscribe to messages of a given topic. The package also supports a variety of advanced features that facilitate debugging and maintaining pypubsub topics and messages in larger applications.

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

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

sudo dnf -y install python3-pypubsub

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

sudo yum -y install python3-pypubsub

How To Uninstall python3-pypubsub on Fedora 36

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

sudo dnf remove python3-pypubsub

python3-pypubsub Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/Pypubsub-4.0.3-py3.10.egg-info
/usr/lib/python3.10/site-packages/Pypubsub-4.0.3-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/Pypubsub-4.0.3-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/Pypubsub-4.0.3-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/Pypubsub-4.0.3-py3.10.egg-info/not-zip-safe
/usr/lib/python3.10/site-packages/Pypubsub-4.0.3-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/pubsub
/usr/lib/python3.10/site-packages/pubsub/LICENSE_BSD_Simple.txt
/usr/lib/python3.10/site-packages/pubsub/RELEASE_NOTES.txt
/usr/lib/python3.10/site-packages/pubsub/__init__.py
/usr/lib/python3.10/site-packages/pubsub/__pycache__
/usr/lib/python3.10/site-packages/pubsub/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pubsub/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/pubsub/__pycache__/pub.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pubsub/__pycache__/pub.cpython-310.pyc
/usr/lib/python3.10/site-packages/pubsub/core
/usr/lib/python3.10/site-packages/pubsub/core/__init__.py
/usr/lib/python3.10/site-packages/pubsub/core/__pycache__
/usr/lib/python3.10/site-packages/pubsub/core/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pubsub/core/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/pubsub/core/__pycache__/annotations.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pubsub/core/__pycache__/annotations.cpython-310.pyc
/usr/lib/python3.10/site-packages/pubsub/core/__pycache__/callables.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pubsub/core/__pycache__/callables.cpython-310.pyc
/usr/lib/python3.10/site-packages/pubsub/core/__pycache__/listener.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pubsub/core/__pycache__/listener.cpython-310.pyc
/usr/lib/python3.10/site-packages/pubsub/core/__pycache__/notificationmgr.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pubsub/core/__pycache__/notificationmgr.cpython-310.pyc
/usr/lib/python3.10/site-packages/pubsub/core/__pycache__/publisher.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pubsub/core/__pycache__/publisher.cpython-310.pyc
/usr/lib/python3.10/site-packages/pubsub/core/__pycache__/topicargspec.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pubsub/core/__pycache__/topicargspec.cpython-310.pyc
/usr/lib/python3.10/site-packages/pubsub/core/__pycache__/topicdefnprovider.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pubsub/core/__pycache__/topicdefnprovider.cpython-310.pyc
/usr/lib/python3.10/site-packages/pubsub/core/__pycache__/topicexc.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pubsub/core/__pycache__/topicexc.cpython-310.pyc
/usr/lib/python3.10/site-packages/pubsub/core/__pycache__/topicmgr.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pubsub/core/__pycache__/topicmgr.cpython-310.pyc
/usr/lib/python3.10/site-packages/pubsub/core/__pycache__/topicobj.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pubsub/core/__pycache__/topicobj.cpython-310.pyc
/usr/lib/python3.10/site-packages/pubsub/core/__pycache__/topictreetraverser.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pubsub/core/__pycache__/topictreetraverser.cpython-310.pyc
/usr/lib/python3.10/site-packages/pubsub/core/__pycache__/topicutils.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pubsub/core/__pycache__/topicutils.cpython-310.pyc
/usr/lib/python3.10/site-packages/pubsub/core/__pycache__/weakmethod.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pubsub/core/__pycache__/weakmethod.cpython-310.pyc
/usr/lib/python3.10/site-packages/pubsub/core/annotations.py
/usr/lib/python3.10/site-packages/pubsub/core/callables.py
/usr/lib/python3.10/site-packages/pubsub/core/listener.py
/usr/lib/python3.10/site-packages/pubsub/core/notificationmgr.py
/usr/lib/python3.10/site-packages/pubsub/core/publisher.py
/usr/lib/python3.10/site-packages/pubsub/core/topicargspec.py
/usr/lib/python3.10/site-packages/pubsub/core/topicdefnprovider.py
/usr/lib/python3.10/site-packages/pubsub/core/topicexc.py
/usr/lib/python3.10/site-packages/pubsub/core/topicmgr.py
/usr/lib/python3.10/site-packages/pubsub/core/topicobj.py
/usr/lib/python3.10/site-packages/pubsub/core/topictreetraverser.py
/usr/lib/python3.10/site-packages/pubsub/core/topicutils.py
/usr/lib/python3.10/site-packages/pubsub/core/weakmethod.py
/usr/lib/python3.10/site-packages/pubsub/pub.py
/usr/lib/python3.10/site-packages/pubsub/utils
/usr/lib/python3.10/site-packages/pubsub/utils/__init__.py
/usr/lib/python3.10/site-packages/pubsub/utils/__pycache__
/usr/lib/python3.10/site-packages/pubsub/utils/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pubsub/utils/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/pubsub/utils/__pycache__/exchandling.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pubsub/utils/__pycache__/exchandling.cpython-310.pyc
/usr/lib/python3.10/site-packages/pubsub/utils/__pycache__/misc.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pubsub/utils/__pycache__/misc.cpython-310.pyc
/usr/lib/python3.10/site-packages/pubsub/utils/__pycache__/notification.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pubsub/utils/__pycache__/notification.cpython-310.pyc
/usr/lib/python3.10/site-packages/pubsub/utils/__pycache__/topictreeprinter.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pubsub/utils/__pycache__/topictreeprinter.cpython-310.pyc
/usr/lib/python3.10/site-packages/pubsub/utils/__pycache__/xmltopicdefnprovider.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pubsub/utils/__pycache__/xmltopicdefnprovider.cpython-310.pyc
/usr/lib/python3.10/site-packages/pubsub/utils/exchandling.py
/usr/lib/python3.10/site-packages/pubsub/utils/misc.py
/usr/lib/python3.10/site-packages/pubsub/utils/notification.py
/usr/lib/python3.10/site-packages/pubsub/utils/topictreeprinter.py
/usr/lib/python3.10/site-packages/pubsub/utils/xmltopicdefnprovider.py
/usr/share/doc/python3-pypubsub
/usr/share/doc/python3-pypubsub/README.rst
/usr/share/doc/python3-pypubsub/RELEASE_NOTES.txt
/usr/share/licenses/python3-pypubsub
/usr/share/licenses/python3-pypubsub/LICENSE_BSD_Simple.txt

References

Summary

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