Вы можете установить mosquitto-клиент (mosquitto_sub), выполнив
how-to-install-mosquitto_sub-on-ubuntu-22-04.sh
sudo apt -y install mosquitto-clientsIf this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow