Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper, scoop, winget 安装 mosquitto

查看 mosquitto 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install mosquitto

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install mosquitto

MacPorts ports tree · net/mosquitto/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add mosquitto

Alpine Linux edge package indexes · mosquitto · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install mosquitto

Debian stable package indexes · mosquitto · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install mosquitto

Fedora Rawhide package metadata · mosquitto · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#mosquitto

nixpkgs package indexes · pkgs/by-name/mo/mosquitto/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S mosquitto

Arch Linux sync databases · mosquitto · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install mosquitto

openSUSE Tumbleweed package metadata · mosquitto · 来源: download.opensuse.org

Windows

Scoop已验证 · 92%
scoop install main/mosquitto

Scoop official bucket manifest trees · bucket/mosquitto.json · 来源: api.github.com

Windows Package Manager已验证 · 92%
winget install --id EclipseFoundation.Mosquitto -e

Windows Package Manager source index · EclipseFoundation.Mosquitto · 来源: cdn.winget.microsoft.com

概览

软件包摘要

Message broker implementing the MQTT protocol

命令和别名

  • mosquitto
  • mosquitto_ctrl
  • mosquitto_db_dump
  • mosquitto_passwd
  • mosquitto_pub
  • mosquitto_rr
  • mosquitto_signal
  • mosquitto_sub

历史

项目历史与用法

Eclipse Mosquitto is an open-source MQTT broker and client-tool project written by Roger A. Light. The project implements server support for MQTT 5.0, 3.1.1, and 3.1, and also ships C and C++ client libraries plus command-line utilities such as mosquitto_pub, mosquitto_sub, mosquitto_rr, mosquitto_ctrl, mosquitto_signal, and mosquitto_passwd.

项目历史

Mosquitto's software-paper milestone is Roger A. Light's 2017 Journal of Open Source Software article, "Mosquitto: server and client implementation of the MQTT protocol." The JOSS metadata places the project in the Internet of Things, MQTT, pub/sub, and messaging categories. The project homepage explains the broader use case: MQTT is a lightweight publish/subscribe protocol suited to IoT messaging for low-power sensors, mobile devices, embedded computers, and microcontrollers.

使用方式

The broker is used as a small, easily deployed MQTT server for development, testing, gateways, and production IoT systems; the bundled clients are widely used for smoke tests, scripts, and examples. Within package managers, Mosquitto is the default lightweight MQTT broker option and complements Eclipse Paho, which focuses on MQTT client libraries. The project is part of the Eclipse Foundation's IoT ecosystem, with development driven by Cedalo.

安全态势

风险级别:orange

formula declares a Homebrew service.

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

  • formula declares a Homebrew service

信号

  • metadata:service

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • formula 元数据声明了服务或守护进程块。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 3 个运行时依赖。
  • 构建元数据列出 2 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Linux
/etc/mosquitto/mosquitto.conf
Unix
mosquitto.confpath passed with --config-file/-c

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
password_file path configured in mosquitto.conf

可执行文件

已安装的可执行文件

命令类型暴露范围备注
mosquittocli全局可执行文件
mosquitto_ctrlcli全局可执行文件
mosquitto_db_dumpcli全局可执行文件
mosquitto_passwdcli全局可执行文件
mosquitto_pubcli全局可执行文件
mosquitto_rrcli全局可执行文件
mosquitto_signalcli全局可执行文件
mosquitto_subcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本2.1.2
管理器更新时间2026-06-06
本地数据OK
上游not checked
检测到的最新版本未检测到

https://mosquitto.org/

安装元数据

软件包元数据

软件包键brew:mosquitto
版本2.1.2
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/mosquitto
主页https://mosquitto.org/
仓库https://github.com/eclipse-mosquitto/mosquitto
上游文档https://mosquitto.org/documentation
许可证EPL-1.0 OR BSD-3-Clause
源码归档https://mosquitto.org/files/source/mosquitto-2.1.2.tar.gz
最后更新2026-06-06T11:29:13Z
Pulseupdated
依赖cjson, libwebsockets, openssl@3
构建依赖cmake, pkgconf
macOS 提供的库libedit, sqlite
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务declared
注意事项mosquitto has been installed with a default configuration file. You can make changes to the configuration by editing: $HOMEBREW_PREFIX/etc/mosquitto/mosquitto.conf

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namemosquitto
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

libmosquitto-dev 2.0.21-1

MQTT version 5.0/3.1.1/3.1 client library, development files

https://mosquitto.org/

sudo apt install libmosquitto-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: mosquitto
  • 1 依赖
  • normalized package name match
  • 匹配方式:Mosquitto
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libmosquitto-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libmosquitto1 2.0.21-1

MQTT version 5.0/3.1.1/3.1 client library

https://mosquitto.org/

sudo apt install libmosquitto1
  • Section: libs
  • Architecture: amd64
  • Source Package: mosquitto
  • 2 依赖
  • normalized package name match
  • 匹配方式:Mosquitto
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libmosquitto1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libmosquittopp-dev 2.0.21-1

MQTT version 3.1 client C++ library, development files

https://mosquitto.org/

sudo apt install libmosquittopp-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: mosquitto
  • 2 依赖
  • normalized package name match
  • 匹配方式:Mosquitto
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libmosquittopp-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libmosquittopp1 2.0.21-1

MQTT version 5.0/3.1.1/3.1 client C++ library

https://mosquitto.org/

sudo apt install libmosquittopp1
  • Section: libs
  • Architecture: amd64
  • Source Package: mosquitto
  • 2 依赖
  • normalized package name match
  • 匹配方式:Mosquitto
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libmosquittopp1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

mosquitto 2.0.21-1

MQTT version 5.0/3.1.1/3.1 compatible message broker

https://mosquitto.org/

sudo apt install mosquitto
  • Section: net
  • Architecture: amd64
  • 10 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Mosquitto
Debian stable package indexes · deb.debian.org · Debian stable package indexes: mosquitto from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

mosquitto-clients 2.0.21-1

Mosquitto command line MQTT clients

https://mosquitto.org/

sudo apt install mosquitto-clients
  • Section: net
  • Architecture: amd64
  • Source Package: mosquitto
  • 3 依赖
  • normalized package name match
  • 匹配方式:Mosquitto
Debian stable package indexes · deb.debian.org · Debian stable package indexes: mosquitto-clients from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

mosquitto-dev 2.0.21-1

Development files for Mosquitto

https://mosquitto.org/

sudo apt install mosquitto-dev
  • Section: devel
  • Architecture: all
  • Source Package: mosquitto
  • 1 依赖
  • normalized package name match
  • 匹配方式:Mosquitto
Debian stable package indexes · deb.debian.org · Debian stable package indexes: mosquitto-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

mosquitto

nix profile install nixpkgs#mosquitto
  • normalized package name match
  • 匹配方式:Mosquitto
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/mo/mosquitto/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

libmosquitto-dev 2.0.18-1build3

MQTT version 5.0/3.1.1/3.1 client library, development files

https://mosquitto.org/

sudo apt install libmosquitto-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: mosquitto
  • 1 依赖
  • normalized package name match
  • 匹配方式:Mosquitto
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libmosquitto-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libmosquitto1 2.0.18-1build3

MQTT version 5.0/3.1.1/3.1 client library

https://mosquitto.org/

sudo apt install libmosquitto1
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: mosquitto
  • 2 依赖
  • normalized package name match
  • 匹配方式:Mosquitto
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libmosquitto1 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libmosquittopp-dev 2.0.18-1build3

MQTT version 3.1 client C++ library, development files

https://mosquitto.org/

sudo apt install libmosquittopp-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: mosquitto
  • 2 依赖
  • normalized package name match
  • 匹配方式:Mosquitto
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libmosquittopp-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libmosquittopp1 2.0.18-1build3

MQTT version 5.0/3.1.1/3.1 client C++ library

https://mosquitto.org/

sudo apt install libmosquittopp1
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: mosquitto
  • 2 依赖
  • normalized package name match
  • 匹配方式:Mosquitto
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libmosquittopp1 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

mosquitto 2.0.18-1build3

MQTT version 5.0/3.1.1/3.1 compatible message broker

https://mosquitto.org/

sudo apt install mosquitto
  • Section: universe/net
  • Architecture: amd64
  • 10 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Mosquitto
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: mosquitto from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

mosquitto-clients 2.0.18-1build3

Mosquitto command line MQTT clients

https://mosquitto.org/

sudo apt install mosquitto-clients
  • Section: universe/net
  • Architecture: amd64
  • Source Package: mosquitto
  • 3 依赖
  • normalized package name match
  • 匹配方式:Mosquitto
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: mosquitto-clients from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

mosquitto-dev 2.0.18-1build3

Development files for Mosquitto

https://mosquitto.org/

sudo apt install mosquitto-dev
  • Section: universe/devel
  • Architecture: all
  • Source Package: mosquitto
  • 1 依赖
  • normalized package name match
  • 匹配方式:Mosquitto
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: mosquitto-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

mosquitto 2.1.2-r1

open source MQTT broker

https://mosquitto.org/

sudo apk add mosquitto
  • License: EPL-1.0 OR EPL-2.0
  • Architecture: x86_64
  • Source Package: mosquitto
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Mosquitto
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: mosquitto from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment