How do I remove MQTT mosquitto broker?
Solution 1:
As Abu Ahmed Al Khatiri comment in question, is working for me so here is the commands how these needs to run.
To remove all mosquitto packages like mosquitto, mosquitto-clients and mosquitto-dev below command will be used:-
sudo apt-get purge --remove mosquitto*
After this we need to remove repository type so need to run this command too on terminal:-
sudo apt-add-repository --remove ppa:mosquitto-dev/mosquitto-ppa
This works for me perfectly. So this may help any one.