How to Install and Uninstall python3-paho-mqtt Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 19,2024

1. Install "python3-paho-mqtt" package

Please follow the instructions below to install python3-paho-mqtt on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install python3-paho-mqtt

2. Uninstall "python3-paho-mqtt" package

In this section, we are going to explain the necessary steps to uninstall python3-paho-mqtt on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove python3-paho-mqtt $ sudo apt autoclean && sudo apt autoremove

3. Information about the python3-paho-mqtt package on Ubuntu 21.10 (Impish Indri)

Package: python3-paho-mqtt
Architecture: all
Version: 1.5.1-1
Priority: optional
Section: universe/python
Source: python-paho-mqtt
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Sebastian Reichel
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 296
Depends: python3:any
Filename: pool/universe/p/python-paho-mqtt/python3-paho-mqtt_1.5.1-1_all.deb
Size: 50904
MD5sum: ce616c2c80bcf0d4cfc9ba285d22793a
SHA1: 371293aa78467859db2213355f4d5d1920742533
SHA256: bb3df66e00a3544421d78315e520be12691077bff9c65e751c668166019abd11
SHA512: 4736d22da8bcef97492816d30a7f09818b174eb972f568a83193620150e2498293bf888591466f6ba82ad893774750d53646df8318318e6aff627e0dfe196bd0
Homepage: https://www.eclipse.org/paho/clients/python/
Description-en: MQTT client class (Python 3)
This code provides a client class which enable applications to connect
to an MQTT broker to publish messages, and to subscribe to topics and
receive published messages. It also provides some helper functions to
make publishing one off messages to an MQTT server very straightforward.
.
The MQTT protocol is a machine-to-machine (M2M)/”Internet of Things”
connectivity protocol. Designed as an extremely lightweight publish/
subscribe messaging transport, it is useful for connections with remote
locations where a small code footprint is required and/or network
bandwidth is at a premium.
.
This is the Python 3 version of the package.
Description-md5: 068c1df87d6cda4cc4c34c49c5bc9bc5