Downloads
Please do report back bugs!
Source
- mosquitto-1.1.3.tar.gz (298kB) (GPG signature)
- Mercurial source code repository (bitbucket.org)
Older downloads are available at http://mosquitto.org/files/
The javascript/websockets client is available as:
Binary Installation
Windows
- mosquitto-1.1.2-install-win32.exe (748 kB) (Native build, Windows Vista and up)
- mosquitto-1.1.2-install-cygwin.exe (2,115 kB) (Cygwin build, Windows XP and up)
See the readme-windows.txt after installing for Windows specific details.
Mac
Mosquitto can be installed from the homebrew project. See http://mxcl.github.com/homebrew/ and then use “brew install mosquitto”
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-clients, libmosquitto1, libmosquitto-devel, libmosquittopp1, 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.
- There are also Debian repositories provided by the mosquitto project, as described at http://mosquitto.org/2013/01/mosquitto-debian-repository/
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-clients, libmosquitto1, libmosquitto-devel, libmosquittopp1, 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
- 2011 – http://download.opensuse.org/repositories/home:/oojah:/mqtt/Mandriva_2011/
- 2010.1 – http://download.opensuse.org/repositories/home:/oojah:/mqtt/Mandriva_2010.1/
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-clients, libmosquitto1, libmosquitto-devel, libmosquittopp1, libmosquittopp-devel, python-mosquitto.
OpenWrt
If you’re using a trunk snapshot use “opkg update; opkg install mosquitto”
Raspberry Pi
Mosquitto is available through the main repository.
There are also Debian repositories provided by the mosquitto project, as described at http://mosquitto.org/2013/01/mosquitto-debian-repository/
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-clients, libmosquitto1, libmosquitto-devel, libmosquittopp1, 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 SP2 – http://download.opensuse.org/repositories/home:/oojah:/mqtt/SLE_11_SP2/
- 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.
- sudo apt-add-repository ppa:mosquitto-dev/mosquitto-ppa
- sudo apt-get update
If the command “apt-add-repository” is not recognised, it can be installed with:
- sudo apt-get install python-software-properties
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.
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.

