Downloads
Please note that mosquitto is still relatively new. Use it in important applications at your own risk. Please do report back bugs!
Source
- mosquitto-0.15.tar.gz (145kB) (GPG signature)
- Mercurial source code repository (bitbucket.org)
Older downloads are available at http://mosquitto.org/files/
Binary Installation
Windows
- mosquitto-0.15-install-win32.exe (141 kB) (Native build, Windows Vista and up)
- mosquitto-0.15-install-win32.exe (943 kB) (Cygwin build, Windows XP and up)
See the readme-windows.txt after installing for Windows specific details.
Arch Linux
An AUR is available courtesy of Gordon Pearce:
CentOS
Download the repository config file for your CentOS version from below and copy it to /etc/yum.repos.d/ You’ll now be able to install and keep mosquitto up to date using the normal package management tools.
The available packages are: mosquitto, mosquitto-pub, mosquitto-sub, libmosquitto0, libmosquitto-devel, libmosquittopp0, libmosquittopp-devel, python-mosquitto.
Debian
- Mosquitto is now in Debian proper. There will be a short delay between a new release and it appearing in Debian as part of the normal Debian procedures.
Fedora
Download the repository config file for your Fedora version from below and copy it to /etc/yum.repos.d/ You’ll now be able to install and keep mosquitto up to date using the normal package management tools.
The available packages are: mosquitto, mosquitto-pub, mosquitto-sub, libmosquitto0, libmosquitto-devel, libmosquittopp0, libmosquittopp-devel, python-mosquitto.
Gentoo
An ebuild is available on the Gentoo bugzilla courtesy of Neil Bothwick: http://bugs.gentoo.org/show_bug.cgi?id=320159
Mandriva
openSUSE
Download the repository config file for your openSUSE version from below and copy it to /etc/zypp/repos.d/ You’ll now be able to install and keep mosquitto up to date using the normal package management tools.
The available packages are: mosquitto, mosquitto-pub, mosquitto-sub, libmosquitto0, libmosquitto-devel, libmosquittopp0, libmosquittopp-devel, python-mosquitto.
OpenWrt
If you’re using a trunk snapshot use “opkg update; opkg install mosquitto”
Redhat Enterprise Linux
Download the repository config file for your RHEL version from below and copy it to /etc/yum.repos.d/ You’ll now be able to install and keep mosquitto up to date using the normal package management tools.
The available packages are: mosquitto, mosquitto-pub, mosquitto-sub, libmosquitto0, libmosquitto-devel, libmosquittopp0, libmosquittopp-devel, python-mosquitto.
Slackware
Courtesy of Chris Willing – http://www.vislab.uq.edu.au/howto/mqtt/index.html
SUSE Linux Enterprise Server
Add the appropriate repository to your package config from the list below, then install mosquitto from your normal package management tools.
- SLE 11 SP1 – http://download.opensuse.org/repositories/home:/oojah:/mqtt/SLE_11_SP1/
- SLE 11 – http://download.opensuse.org/repositories/home:/oojah:/mqtt/SLE_11/
- SLE 10 – http://download.opensuse.org/repositories/home:/oojah:/mqtt/SLE_10_SDK/
Ubuntu
As of version 11.10 Oneiric Ocelot, mosquitto will be in the Ubuntu repositories so you can install as with any other package. If you are on an earlier version of Ubuntu or want a more recent version of mosquitto, add the mosquitto-dev PPA to your repositories list – see the link for details. mosquitto can then be installed from your package manager.
- apt-add-repository ppa:mosquitto-dev/mosquitto-ppa
Other Linux
Other users – no packages available. Get in touch if you want to help!
QNX
- 0.11.3 in http://mosquitto.org/files/binary/qnx/ – untested, expect no updates.
http://download.opensuse.org/repositories/home:/oojah:/mqtt/Fedora_14/home:oojah:mqtt.repo
iPhone
You can use libmosquitto (included in the source download) on the iPhone to build MQTT apps. It compiles as objective-c, or you can use the marquette project which is an objective-c wrapper and example app.

