How To Install perl-Net-MQTT-Simple on Fedora 36

In this tutorial we learn how to install perl-Net-MQTT-Simple in Fedora 36. perl-Net-MQTT-Simple is Minimal MQTT version 3 interface

Introduction

In this tutorial we learn how to install perl-Net-MQTT-Simple on Fedora 36.

What is perl-Net-MQTT-Simple

This module consists of only one file and has no dependencies except core Perl modules, making it suitable for embedded installations where CPAN installers are unavailable and resources are limited. Only basic MQTT functionality is provided.

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

Install perl-Net-MQTT-Simple 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 perl-Net-MQTT-Simple using dnf by running the following command:

sudo dnf -y install perl-Net-MQTT-Simple

Install perl-Net-MQTT-Simple 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 perl-Net-MQTT-Simple using yum by running the following command:

sudo yum -y install perl-Net-MQTT-Simple

How To Uninstall perl-Net-MQTT-Simple on Fedora 36

To uninstall only the perl-Net-MQTT-Simple package we can use the following command:

sudo dnf remove perl-Net-MQTT-Simple

perl-Net-MQTT-Simple Package Contents on Fedora 36

/usr/bin/mqtt-simple
/usr/share/doc/perl-Net-MQTT-Simple
/usr/share/doc/perl-Net-MQTT-Simple/Changes
/usr/share/doc/perl-Net-MQTT-Simple/README
/usr/share/man/man1/mqtt-simple.1.gz
/usr/share/man/man3/Net::MQTT::Simple.3pm.gz
/usr/share/man/man3/Net::MQTT::Simple::SSL.3pm.gz
/usr/share/perl5/vendor_perl/Net
/usr/share/perl5/vendor_perl/Net/MQTT
/usr/share/perl5/vendor_perl/Net/MQTT/Simple
/usr/share/perl5/vendor_perl/Net/MQTT/Simple.pm
/usr/share/perl5/vendor_perl/Net/MQTT/Simple/SSL.pm

References

Summary

In this tutorial we learn how to install perl-Net-MQTT-Simple on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).