How to install mosquitto
on Linux Mint

mosquitto

mosquitto

Roger Light (ralight)

Eclipse Mosquitto MQTT broker

This is a message broker that supports version 5.0, 3.1.1, and 3.1 of the MQTT protocol. MQTT provides a method of carrying out messaging using a publish/subscribe model. It is lightweight, both in terms of bandwidth usage and ease of implementation. This makes it particularly useful at the edge of the network where a sensor or other simple device may be implemented using an arduino for example.

By default mosquitto will be installed as a system service, using the default configuration at /snap/mosquitto/current/default_config.conf. If this does not meet your needs, create the file /var/snap/mosquitto/common/mosquitto.conf and this will be used instead. Note that only files inside /var/snap/mosquitto/common can be read by mosquitto, you cannot put other configuration files in /etc/mosquitto.

In addition to the latest channel, there are also the 1.5 and 1.6 channels which you can use to track those versions.

Details for mosquitto

License
EPL-1.0
Last updated
3 December 2019

Enable snaps on Linux Mint and install mosquitto

Snaps are applications packaged with all their dependencies to run on all popular Linux distributions from a single build. They update automatically and roll back gracefully.

Snaps are discoverable and installable from the Snap Store, an app store with an audience of millions.

Enable snapd

Snap is available for Linux Mint 18.2 (Sonya), Linux Mint 18.3 (Sylvia), and the latest releases, Linux Mint 19 (Tara) and Linux Mint 19.1 (Tessa). You can find out which version of Linux Mint you’re running by opening System info from the Preferences menu. To install snap from the Software Manager application, search for snapd and click Install.

Alternatively, snapd can be installed from the command line:

sudo apt update sudo apt install snapd

Either restart your machine, or log out and in again, to complete the installation.

Install mosquitto

To install mosquitto, simply use the following command:

Other popular snaps…

See more...
See more in Featured

More things to do…

Get the snap store

Browse and find snaps from the convenience of your desktop using the snap store snap.

Learn more about snaps

Interested to find out more about snaps? Want to publish your own application? Visit snapcraft.io now.