← Back to team overview

mosquitto-dev team mailing list archive

Re: [Question #116673]: Mosquitto 0.5.3 on x86


Question #116673 on mosquitto changed:

    Status: Open => Answered

Roger Light proposed the following answer:
Step by step instructions. Note that you should be doing these on your

* Remove all existing traces of mosquitto from your server - just to be on the safe side!
* Download the latest version of mosquitto from http://mosquitto.org/download - this must be the source code. Currently mosquitto 0.7 is the latest (if you don't have a gui, try using the "wget" command to download - "wget http://mosquitto.org/files/source/mosquitto-0.7.tar.gz"; )
* Extract the files from the archive: "tar zxf mosquitto-0.7.tar.gz"
* Move into the source directory: "cd mosquitto-0.7"
* Compile mosquitto: "make"
* Install mosquitto "sudo make install" (note that this will run as the super user because of the "sudo" command)
* Edit /etc/mosquitto.conf to your preferences
* Run mosquitto "/usr/local/sbin/mosquitto -c /etc/mosquitto.conf"

If you get errors along the way, it's possible you haven't got some
required packages installed. Even if you have sqlite installed, you may
not have the package installed that you need when compiling things that
use sqlite.

This command will install the development packages for sqlite and

"sudo apt-get install libsqlite3-dev libwrap0-dev"

You received this question notification because you are a member of
Mosquitto Dev, which is an answer contact for mosquitto.