How to Install and Uninstall mosquitto Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: July 07,2024

1. Install "mosquitto" package

Here is a brief guide to show you how to install mosquitto on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install mosquitto

2. Uninstall "mosquitto" package

Learn how to uninstall mosquitto on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove mosquitto $ sudo apt autoclean && sudo apt autoremove

3. Information about the mosquitto package on Ubuntu 20.04 LTS (Focal Fossa)

Package: mosquitto
Architecture: amd64
Version: 1.6.9-1
Multi-Arch: foreign
Priority: optional
Section: universe/net
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Roger A. Light
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 483
Depends: adduser (>= 3.10), libuuid1, lsb-base (>= 4.1+Debian3), libc6 (>= 2.29), libdlt2 (>= 2.18.4), libssl1.1 (>= 1.1.0), libsystemd0, libwebsockets15 (>= 3.2.0), libwrap0 (>= 7.6-4~)
Suggests: apparmor
Filename: pool/universe/m/mosquitto/mosquitto_1.6.9-1_amd64.deb
Size: 159748
MD5sum: caa59b018fd611fc70693ce5ea40f5a9
SHA1: a77b26b578a683adae0c4b219e79d0661c87a37b
SHA256: f5e5f4c1e3e66829ac41e4261fd8d149afa2479fd2214bb9163942a0837be06b
Homepage: https://mosquitto.org/
Description: MQTT version 5.0/3.1.1/3.1 compatible message broker
Description-md5: f8c193c62c4a30a9acfb862fd9561343