我使用以下命令在 ubuntu
中安装了 mosquitto
:
sudo apt-get install mosquitto
蚊子(Mosquitto)的安装版本为1.6.9。
mosquitto version 1.6.9
mosquitto is an MQTT v3.1.1 broker.
Usage: mosquitto [-c config_file] [-d] [-h] [-p port]
-c : specify the broker config file.
-d : put the broker into the background after starting.
-h : display this help.
-p : start the broker listening on the specified port.
Not recommended in conjunction with the -c option.
-v : verbose mode - enable all logging types. This overrides
any logging options given in the config file.
See http://mosquitto.org/ for more information
为了将mosquitto更新到最新版本,我首先卸载了它,然后运行了命令
sudo apt-get update
,然后重新安装了mosquitto,但版本仍然是相同的。如何将mosquitto更新到最新版本?