How To Install mqtt-randompub on Fedora 36

In this tutorial we learn how to install mqtt-randompub in Fedora 36. mqtt-randompub is Tool for generating MQTT messages on various topics

Introduction

In this tutorial we learn how to install mqtt-randompub on Fedora 36.

What is mqtt-randompub

For testing application and tools which are handling MQTT messages it’s often needed to send continuously messages on random topics to a broker. mqtt-randompub contains options to send a single message, a specific count of messages, or a constant flow of messages till the tool is terminated. Configuration files can be used to store lists of topics to create repeatable test scenarios.

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

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

sudo dnf -y install mqtt-randompub

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

sudo yum -y install mqtt-randompub

How To Uninstall mqtt-randompub on Fedora 36

To uninstall only the mqtt-randompub package we can use the following command:

sudo dnf remove mqtt-randompub

mqtt-randompub Package Contents on Fedora 36

/usr/bin/mqtt-randompub
/usr/lib/python3.10/site-packages/mqtt_randompub
/usr/lib/python3.10/site-packages/mqtt_randompub-0.2.2-py3.10.egg-info
/usr/lib/python3.10/site-packages/mqtt_randompub-0.2.2-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/mqtt_randompub-0.2.2-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/mqtt_randompub-0.2.2-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/mqtt_randompub-0.2.2-py3.10.egg-info/entry_points.txt
/usr/lib/python3.10/site-packages/mqtt_randompub-0.2.2-py3.10.egg-info/requires.txt
/usr/lib/python3.10/site-packages/mqtt_randompub-0.2.2-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/mqtt_randompub/__init__.py
/usr/lib/python3.10/site-packages/mqtt_randompub/__pycache__
/usr/lib/python3.10/site-packages/mqtt_randompub/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/mqtt_randompub/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/mqtt_randompub/__pycache__/mqtt_randompub.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/mqtt_randompub/__pycache__/mqtt_randompub.cpython-310.pyc
/usr/lib/python3.10/site-packages/mqtt_randompub/__pycache__/opthandling.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/mqtt_randompub/__pycache__/opthandling.cpython-310.pyc
/usr/lib/python3.10/site-packages/mqtt_randompub/mqtt_randompub.py
/usr/lib/python3.10/site-packages/mqtt_randompub/opthandling.py
/usr/share/doc/mqtt-randompub
/usr/share/doc/mqtt-randompub/AUTHORS
/usr/share/doc/mqtt-randompub/ChangeLog
/usr/share/doc/mqtt-randompub/README.rst
/usr/share/licenses/mqtt-randompub
/usr/share/licenses/mqtt-randompub/LICENSE

References

Summary

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