---
title: Install mosquitto on Linux | Snap Store
description: Get the latest version of mosquitto for Linux - Eclipse Mosquitto MQTT
  broker
url: https://snapcraft.io/mosquitto
---

# mosquitto

[Mosquitto Team (mosquitto)](https://snapcraft.io/publisher/mosquitto "View all snaps from Mosquitto Team (mosquitto)")

* [Mosquitto Team (mosquitto)](https://snapcraft.io/publisher/mosquitto "View all snaps from Mosquitto Team (mosquitto)")
* [Devices and IoT](https://snapcraft.io/search?categories=devices-and-iot)
* [Server and Cloud](https://snapcraft.io/search?categories=server-and-cloud)

latest/stable 2.1.2

Available as an
[Ubuntu Appliance ›](https://ubuntu.com/appliance/mosquitto)

Contact us about
[Snaps and IoT ›](https://snapcraft.io/about/contact-us)

Install latest/stable of mosquitto

---

**Install using the command line**

```
sudo snap install mosquitto
```

Don't have snapd? [Get set up for snaps](https://snapcraft.io/docs/installing-snapd).

---

Available as an [Ubuntu Appliance](https://ubuntu.com/appliance/mosquitto)

---

### Package name

* mosquitto

---

### License

* BSD-3-Clause OR EPL-2.0

---

### Last updated

* 9 February 2026 - latest/stable
* 30 July 2026 - latest/edge

---

### Websites

* [mosquitto.org](https://mosquitto.org/ "https://mosquitto.org/")

---

### Contact

* [mosquitto.org](https://mosquitto.org/ "https://mosquitto.org/")

---

### Command › Alias

* mosquitto.pub › mosquitto\_pub
* mosquitto.sub › mosquitto\_sub
* mosquitto.passwd › mosquitto\_passwd
* [Show more](https://snapcraft.io/mosquitto "Display more/less aliases")

---

##### Report a Snap Store violation

* [Report this Snap](https://snapcraft.io/mosquitto#report-snap-modal)

---

* [Description](https://snapcraft.io/mosquitto#tab-description)
* [Security](https://snapcraft.io/mosquitto#tab-security)

#### Eclipse Mosquitto MQTT broker

This is a message broker that supports version 5.0, 3.1.1, and 3.1 of the MQTT protocol. MQTT provides a method of carrying out messaging using a publish/subscribe model. It is lightweight, both in terms of bandwidth usage and ease of implementation. This makes it particularly useful at the edge of the network where a sensor or other simple device may be implemented using a microcontroller for example.

---

## Install mosquitto on your Linux distribution

Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the [installing snapd documentation](https://snapcraft.io/docs/installing-snapd).

[### Arch Linux](https://snapcraft.io/install/mosquitto/arch)

[### CentOS](https://snapcraft.io/install/mosquitto/centos)

[### Debian](https://snapcraft.io/install/mosquitto/debian)

[### elementary OS](https://snapcraft.io/install/mosquitto/elementary)

[### Fedora](https://snapcraft.io/install/mosquitto/fedora)

[### KDE Neon](https://snapcraft.io/install/mosquitto/kde-neon)

[### Kubuntu](https://snapcraft.io/install/mosquitto/kubuntu)

[### Manjaro](https://snapcraft.io/install/mosquitto/manjaro)

[### Pop!\_OS](https://snapcraft.io/install/mosquitto/pop)

[### openSUSE](https://snapcraft.io/install/mosquitto/opensuse)

[### Red Hat Enterprise Linux](https://snapcraft.io/install/mosquitto/rhel)

[### Ubuntu](https://snapcraft.io/install/mosquitto/ubuntu)

[### Raspberry Pi](https://snapcraft.io/install/mosquitto/raspbian)
