# Install libpaho-mqtt with Homebrew

Eclipse Paho C client library for MQTT. Version 1.3.16 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:libpaho-mqtt
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install libpaho-mqtt
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:libpaho-mqtt
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/libpaho-mqtt>
- **Version:** 1.3.16
- **Source summary:** Eclipse Paho C client library for MQTT
- **Homepage:** <https://eclipse-paho.github.io/paho.mqtt.c/MQTTClient/html/>
- **Repository:** <https://github.com/eclipse-paho/paho.mqtt.c>
- **Upstream docs:** <https://eclipse-paho.github.io/paho.mqtt.c/MQTTClient/html>
- **License:** EPL-2.0
- **Source archive:** <https://github.com/eclipse-paho/paho.mqtt.c/archive/refs/tags/v1.3.16.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- MQTTVersion (cli)
- MQTTVersion (alias)

## Dependencies

- openssl@3

## Build dependencies

- cmake

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.3.16
- Local data: ok
- Upstream repository: https://github.com/eclipse-paho/paho.mqtt.c
- Upstream latest detected: v1.3.16 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

Eclipse Paho MQTT C is the ANSI C client library in the Eclipse Paho project, providing synchronous and asynchronous APIs for MQTT clients on POSIX, Windows, macOS, and embedded-adjacent environments.

### Project history

Paho grew out of IBM and Eurotech making MQTT client code available through Eclipse during the early 2010s. The Eclipse Paho project page describes it as an Eclipse IoT project for open-source implementations of MQTT and MQTT-SN in multiple programming languages.

The C client inherited a longer MQTT C lineage from IBM work around small devices and the Really Small Message Broker era. By placing that lineage under Eclipse governance, Paho made MQTT client libraries easier for vendors, distributions, and device developers to consume under a neutral open-source project.

### Adoption history

Paho's adoption followed MQTT's standardization and IoT growth. MQTT 3.1.1 became an OASIS Standard in October 2014 and ISO/IEC 20922 in 2016, while MQTT 5.0 was approved by OASIS in March 2019. Paho C tracks those protocol versions with MQTT 3.1, 3.1.1, and 5.0 support.

### How it is used

Developers use the C library to connect to an MQTT broker, publish messages, subscribe to topics, and receive messages. The project documents two C APIs: MQTTClient for simpler blocking/synchronous use and MQTTAsync for callback-oriented nonblocking applications.

### Why package nerds care

For package maintainers, libpaho-mqtt is the canonical C client for a standardized IoT protocol. It is small enough to be a library dependency, but broad enough to support TLS, persistence, WebSockets, reconnect behavior, and both blocking and nonblocking application styles.

### Timeline

- 2011: IBM and Eurotech announced donation of MQTT C and Java client implementations to the proposed Eclipse Paho project.
- 2014: MQTT 3.1.1 was approved as an OASIS Standard.
- 2016: MQTT 3.1.1 was approved as ISO/IEC 20922.
- 2019: MQTT 5.0 was approved as an OASIS Standard, and Paho C documents MQTT 5.0 support.

### Related projects

- Eclipse Paho includes MQTT client implementations for multiple languages beyond C.
- Paho MQTT C++ layers a C++ API over the C library.
- MQTT brokers such as Mosquitto, EMQX, HiveMQ, and broker services are natural interoperability targets for Paho C clients.

### Sources

- <https://andypiper.co.uk/2011/11/04/mqtt-goes-free-a-personal-qa/>
- <https://eclipse.dev/paho/>
- <https://eclipse.dev/paho/clients/c/>
- <https://github.com/eclipse-paho/paho.mqtt.c>
- <https://www.eclipse.org/community/eclipse_newsletter/2015/october/article3.php>
- <https://www.oasis-open.org/2016/07/19/oasis-mqtt-internet-of-things-standard-now-approved-by-iso-iec-jtc1/>
- <https://www.oasis-open.org/standard/mqtt-v5-0-os/>
- <https://www.oasis-open.org/standard/mqttv3-1-1/>


## Security Notes

library-like package without higher-risk signals.

- **Geiger risk:** green / low
- library-like package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** libpaho-mqtt
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Web development packages](https://www.automicvault.com/pkg/web-dev-tools/) - Matched web development metadata.
- [openssl@3](https://www.automicvault.com/pkg/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [cmake](https://www.automicvault.com/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [syslog-ng](https://www.automicvault.com/pkg/brew/syslog-ng/) - Popular package that depends on this formula.
- [mosquitto](https://www.automicvault.com/pkg/brew/mosquitto/) - Shares av.db curated category or tags: cli, messaging, mqtt, networking.
- [czmq](https://www.automicvault.com/pkg/brew/czmq/) - Shares av.db curated category or tags: c, cli, messaging, networking.
- [emqx](https://www.automicvault.com/pkg/brew/emqx/) - Shares av.db curated category or tags: cli, messaging, mqtt, networking.
- [nanomsg](https://www.automicvault.com/pkg/brew/nanomsg/) - Shares av.db curated category or tags: c, cli, messaging, networking.
- [activemq](https://www.automicvault.com/pkg/brew/activemq/) - Shares av.db curated category or tags: cli, messaging, networking.
- [ejabberd](https://www.automicvault.com/pkg/brew/ejabberd/) - Shares av.db curated category or tags: cli, messaging, networking.
- [memcacheq](https://www.automicvault.com/pkg/brew/memcacheq/) - Shares av.db curated category or tags: c, cli, messaging, networking.
- [mqttui](https://www.automicvault.com/pkg/brew/mqttui/) - Shares av.db curated category or tags: cli, mqtt, networking.

## Combined YAML source

View the package source record on GitHub. [combined/libpaho-mqtt.yml](https://github.com/automic-vault/db/blob/main/combined/libpaho-mqtt.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
