macOS
brew install bluezlocal Homebrew formula metadata
sudo port install bluemoonMacPorts ports tree · games/bluemoon/Portfile · 来源: api.github.com
安装
brew install bluezlocal Homebrew formula metadata
sudo port install bluemoonMacPorts ports tree · games/bluemoon/Portfile · 来源: api.github.com
sudo apk add bluezAlpine Linux edge package indexes · bluez · 来源: dl-cdn.alpinelinux.org
sudo dnf install bluezFedora Rawhide package metadata · bluez · 来源: dl.fedoraproject.org
nix profile install nixpkgs#blueznixpkgs package indexes · pkgs/by-name/bl/bluez/package.nix · 来源: api.github.com
sudo pacman -S bluezArch Linux sync databases · bluez · 来源: geo.mirror.pkgbuild.com
sudo zypper install bluezopenSUSE Tumbleweed package metadata · bluez · 来源: download.opensuse.org
概览
Bluetooth protocol stack for Linux
历史
BlueZ is the standard Linux user-space Bluetooth stack: the daemons, libraries, tools, and D-Bus APIs that make the kernel Bluetooth subsystem usable from distributions and desktop environments.
The BlueZ project has long been published from the Linux kernel infrastructure, with its canonical source repository hosted under git.kernel.org's bluetooth namespace and identified there as the Bluetooth protocol stack for Linux.
BlueZ evolved alongside Linux Bluetooth support: early releases exposed separate tools and profile helpers, while later releases centered the stack on bluetoothd, D-Bus APIs, and kernel/user-space cooperation for controllers, pairing, audio, input, and low-energy devices.
The BlueZ 4 series began in August 2008 and BlueZ 5 followed in December 2012, both visible in the official git.kernel.org tag history as major line changes in the Linux Bluetooth user-space stack.
BlueZ became the default Bluetooth stack carried by Linux distributions because it is the upstream implementation for the Linux Bluetooth ecosystem, not just a third-party command-line utility.
Its adoption is visible in package managers: the same project is shipped by Homebrew, Debian/Ubuntu, Fedora, Arch, Alpine, openSUSE, Nix, and MacPorts, often split by distributions into daemons, libraries, tools, and compatibility packages.
The project also shaped desktop and embedded Linux Bluetooth usage. GNOME-facing bluez-gnome work tracked the BlueZ 4 D-Bus API transition, while embedded guides commonly build directly from the kernel.org BlueZ tarballs for board bring-up.
Package users usually meet BlueZ through bluetoothd, bluetoothctl, btmon, btattach, l2ping, and related diagnostic tools. It is used for pairing devices, attaching HCI controllers, inspecting traffic, testing L2CAP/RFCOMM behavior, and running profile support.
On Linux systems, BlueZ is configured through files such as /etc/bluetooth/main.conf and integrated with system services, udev, D-Bus, PulseAudio/PipeWire, NetworkManager, and desktop Bluetooth front ends.
BlueZ is package-nerd-important because it sits at the boundary where kernel interfaces, D-Bus APIs, firmware quirks, Bluetooth qualification, desktop UX, audio stacks, and security patches all collide.
It is also a classic distro-maintainer package: upstream releases may affect controllers, headphones, keyboards, low-energy devices, mesh tooling, audio profiles, and security posture, so downstreams often carry patches while tracking upstream closely.
For Homebrew specifically, bluez is unusual because it brings Linux Bluetooth tooling to a macOS package manager even though the core stack is Linux-native; the formula is most useful for development, diagnostics, and cross-platform tooling rather than replacing Apple's Bluetooth stack.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
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.
Config paths the tool may read or write during local use.
/etc/bluetooth/main.conf可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
bluemoon | cli | 全局可执行文件 | |
bluetoothctl | cli | 全局可执行文件 | |
btattach | cli | 全局可执行文件 | |
btmon | cli | 全局可执行文件 | |
hex2hcd | cli | 全局可执行文件 | |
isotest | cli | 全局可执行文件 | |
l2ping | cli | 全局可执行文件 | |
l2test | cli | 全局可执行文件 | |
mpris-proxy | cli | 全局可执行文件 | |
rctest | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:bluez |
|---|---|
| 版本 | 5.87 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/bluez |
| 主页 | https://www.bluez.org |
| 仓库 | https://git.kernel.org/pub/scm/bluetooth/bluez.git |
| 上游文档 | https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/README |
| 许可证 | GPL-2.0-or-later |
| 源码归档 | https://mirrors.edge.kernel.org/pub/linux/bluetooth/bluez-5.87.tar.xz |
| 最后更新 | 2026-07-05T09:17:21Z |
| Pulse | updated |
| 依赖 | dbus, glib, libical, readline, systemd |
| 构建依赖 | pkgconf |
| Bottle | 可用 (于 arm64_linux, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | bluez |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Requirements |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
bluetooth 5.82-1.1
Bluetooth support (metapackage)
sudo apt install bluetoothbluez 5.82-1.1
Bluetooth tools and daemons
sudo apt install bluezbluez-cups 5.82-1.1
Bluetooth printer driver for CUPS
sudo apt install bluez-cupsbluez-hcidump 5.82-1.1
Analyses Bluetooth HCI packets
sudo apt install bluez-hcidumpbluez-meshd 5.82-1.1
bluetooth mesh daemon
sudo apt install bluez-meshdbluez-obexd 5.82-1.1
bluez obex daemon
sudo apt install bluez-obexdbluez-source 5.82-1.1
Source code for the BlueZ Linux Bluetooth stack
sudo apt install bluez-sourcebluez-test-scripts 5.82-1.1
test scripts of bluez
sudo apt install bluez-test-scriptsbluez-test-tools 5.82-1.1
test tools of bluez
sudo apt install bluez-test-toolslibbluetooth-dev 5.82-1.1
Development files for using the BlueZ Linux Bluetooth library
sudo apt install libbluetooth-devlibbluetooth3 5.82-1.1
Library to use the BlueZ Linux Bluetooth stack
sudo apt install libbluetooth3bluez
nix profile install nixpkgs#bluezbluetooth 5.72-0ubuntu5
Bluetooth support (metapackage)
sudo apt install bluetoothbluez 5.72-0ubuntu5
Bluetooth tools and daemons
sudo apt install bluezbluez-cups 5.72-0ubuntu5
Bluetooth printer driver for CUPS
sudo apt install bluez-cupsbluez-hcidump 5.72-0ubuntu5
Analyses Bluetooth HCI packets
sudo apt install bluez-hcidump来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.