I have installed mosquitto in ubuntu using command:
sudo apt-get install mosquitto
The mosquitto installed is version 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
In order to update the mosquitto to latest version, I first uninstalled it and then ran command sudo apt-get update and then reinstalled the mosquitto but the version was still the same.
How can I update mosquitto to latest version.?