How To Install lua-mosquitto on Fedora 36

In this tutorial we learn how to install lua-mosquitto in Fedora 36. lua-mosquitto is Lua bindings to libmosquitto

Introduction

In this tutorial we learn how to install lua-mosquitto on Fedora 36.

What is lua-mosquitto

lua-mosquitto is a Lua library that provides complete bindings to the Eclipse Mosquitto message broker (https

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

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

sudo dnf -y install lua-mosquitto

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

sudo yum -y install lua-mosquitto

How To Uninstall lua-mosquitto on Fedora 36

To uninstall only the lua-mosquitto package we can use the following command:

sudo dnf remove lua-mosquitto

lua-mosquitto Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/9b
/usr/lib/.build-id/9b/0df7a88d732a5a6726afd7012d9bb597e1e418
/usr/lib64/lua/5.4/mosquitto.so
/usr/share/doc/lua-mosquitto
/usr/share/doc/lua-mosquitto/README.md
/usr/share/licenses/lua-mosquitto
/usr/share/licenses/lua-mosquitto/LICENSE

References

Summary

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