mosquitto_pub

A simple MQTT version 3.1.1 client that will publish a single message on a topic and exit. More information: <https://mosquitto.org/man/mosquitto_pub-1.html>.

Debian Debian
RUN apt-get update && \ apt-get install -y mosquitto-clients
Ubuntu
RUN apt-get update && \ apt-get install -y mosquitto-clients
Alpine
RUN apk add mosquitto
Arch Arch Linux
RUN pacman -S --noconfirm mosquitto
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y mosquitto-clients
Fedora
RUN dnf install -y mosquitto
Raspbian
RUN apt-get update && \ apt-get install -y mosquitto-clients
click the source code to copy install mosquitto_pub on any operating system with command-not-found.com