Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
While mosquitto has been officially added to the Fedora (incl. EPEL), Debian, and Ubuntu repositories, for other Linux distributions you will need to do some more work.
You should setup the new repo by adding the .repo file to your system.
Run through the following steps as root:
You will be prompted if you wish to install the packages, answer yes.
If you should see a message like the one below. You should answer yes.
Importing GPG key 0x49E1D0B1 "home:oojah OBS Project `<home:email@example.com>`" from http://download.opensuse.org/repositories/home:/oojah:/mqtt/CentOS_CentOS-5/repodata/repomd.xml.key
You may see the following warnings:
useradd: unknown group mosquitto warning: user mosquitto does not exist - using root warning: group mosquitto does not exist - using root
They can be ignored or you can manually create the missing user group details. You should then edit the file ''/etc/mosquitto/mosquitto.conf'' to suit.
Finally start ''mosquitto'' as a daemon with the line, ''/etc/init.d/mosquitto start''