1、sudo apt-add-repository ppa:mosquitto-dev/mosquitto-ppa
2、sudo apt-get update
3、sudo apt-get install mosquitto
4、sudo service mosquitto status
出现active表示安装成功,然后可以用mqtt客户端测试
标签:ppa,get,sudo,mqtt,apt,Mqtt,mosquitto
来源: https://www.cnblogs.com/zhaogaojian/p/15193639.html