uninstall mosquitto 1.4

Asked by blackjackpsp

hello , I have installed on my system ubuntu mosquitto 1.4 , following the guidance https://goochgooch.wordpress.com/2014/08/01/building-mosquitto-1-4/ because I needed the support websocket , leaving installed 1.3 .5
After the entire procedure if type sudo / usr / sbin / mosquitto -c /etc/mosquitto/mosquitto.conf told me that he had not the support websocket : /
I tried uninstalling everything, but only result I am that you uninstalled the 1.3.5 and if I type terminal mosquitto_pub still comes out the help of mosquitto . How can I remove this installation of mosquitto ?

Question information

Language:
English Edit question
Status:
Solved
For:
mosquitto Edit question
Assignee:
No assignee Edit question
Solved by:
Mikkel Kirkgaard Nielsen
Solved:
Last query:
Last reply:
Revision history for this message
Best Mikkel Kirkgaard Nielsen (mikini) said :
#1

Hi blackjackpsp.

If you are sure the Ubuntu package providing the CLI clients have been removed (sudo apt-get remove mosquitto-clients) then you probably got some leftovers from the source build floating around.

Sometimes "make uninstall" in the source tree will (try) to remove stuff again but it is not always a trivial task. If you lost the source tree try looking for the binaries manually. Build systems will usually put local builds in /usr/local instead of /usr by default, so try looking for mosquitto* binaries in there and remove them.

You can always check exactly which file is executed by the shell (after $PATH expansion et. al) using the which command:
$ which mosquitto_sub
/usr/bin/mosquitto_sub

Good luck.
Mikkel

Revision history for this message
blackjackpsp (blackjackpsp) said :
#2

Thanks Mikkel Kirkgaard Nielsen, that solved my question.