Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, dnf, Nix, pacman, zypper, MacPorts 安装 bluez

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install bluez

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install bluemoon

MacPorts ports tree · games/bluemoon/Portfile · 来源: api.github.com

Linux

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

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

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

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

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

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

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

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

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

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

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

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

概览

软件包摘要

Bluetooth protocol stack for Linux

命令和别名

  • bluemoon
  • bluetoothctl
  • btattach
  • btmon
  • hex2hcd
  • isotest
  • l2ping
  • l2test
  • mpris-proxy
  • rctest

历史

项目历史与用法

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.

时间线

  • 2000s: BlueZ becomes the Linux Bluetooth user-space stack hosted in the kernel.org Bluetooth source area.
  • 2008-08: BlueZ 4.0 is tagged in the official git.kernel.org repository.
  • 2012-12: BlueZ 5.0 is tagged in the official git.kernel.org repository.
  • 2010s-2020s: BlueZ remains hosted under git.kernel.org and distributed across mainstream Linux package managers.

Related projects

  • Linux kernel Bluetooth subsystem: the in-kernel protocols and HCI drivers BlueZ controls from user space.
  • bluetoothd and bluetoothctl: the central daemon and interactive control CLI shipped by BlueZ.
  • btmon and hcidump: packet monitoring and historical diagnostic tooling around Linux Bluetooth.
  • PulseAudio and PipeWire: Linux audio stacks that depend on BlueZ integration for Bluetooth audio devices.
  • GNOME Bluetooth and other desktop front ends: user interfaces built on top of BlueZ's D-Bus APIs.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 2 个平台目标。
  • 安装时包含 5 个运行时依赖。
  • 构建元数据列出 1 个构建依赖。

建议审查

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

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/bluetooth/main.conf

可执行文件

已安装的可执行文件

命令类型暴露范围备注
bluemooncli全局可执行文件
bluetoothctlcli全局可执行文件
btattachcli全局可执行文件
btmoncli全局可执行文件
hex2hcdcli全局可执行文件
isotestcli全局可执行文件
l2pingcli全局可执行文件
l2testcli全局可执行文件
mpris-proxycli全局可执行文件
rctestcli全局可执行文件

新鲜度

版本和新鲜度

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

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

https://www.bluez.org

  • 信息Release/tag comparison is only available for GitHub repositories.https://www.bluez.orgnone 置信度

安装元数据

软件包元数据

软件包键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
Pulseupdated
依赖dbus, glib, libical, readline, systemd
构建依赖pkgconf
Bottle可用 (于 arm64_linux, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

bluetooth 5.82-1.1

Bluetooth support (metapackage)

http://www.bluez.org

sudo apt install bluetooth
  • Section: admin
  • Architecture: all
  • Source Package: bluez
  • 1 依赖
  • 3 可选依赖
  • normalized package name match
  • 匹配方式:Bluez
Debian stable package indexes · deb.debian.org · Debian stable package indexes: bluetooth from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

bluez 5.82-1.1

Bluetooth tools and daemons

http://www.bluez.org

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

bluez-cups 5.82-1.1

Bluetooth printer driver for CUPS

http://www.bluez.org

sudo apt install bluez-cups
  • Section: admin
  • Architecture: amd64
  • Source Package: bluez
  • 4 依赖
  • normalized package name match
  • 匹配方式:Bluez
Debian stable package indexes · deb.debian.org · Debian stable package indexes: bluez-cups from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

bluez-hcidump 5.82-1.1

Analyses Bluetooth HCI packets

http://www.bluez.org

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

bluez-meshd 5.82-1.1

bluetooth mesh daemon

http://www.bluez.org

sudo apt install bluez-meshd
  • Section: admin
  • Architecture: amd64
  • Source Package: bluez
  • 6 依赖
  • normalized package name match
  • 匹配方式:Bluez
Debian stable package indexes · deb.debian.org · Debian stable package indexes: bluez-meshd from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

bluez-obexd 5.82-1.1

bluez obex daemon

http://www.bluez.org

sudo apt install bluez-obexd
  • Section: admin
  • Architecture: amd64
  • Source Package: bluez
  • 7 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Bluez
Debian stable package indexes · deb.debian.org · Debian stable package indexes: bluez-obexd from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

bluez-source 5.82-1.1

Source code for the BlueZ Linux Bluetooth stack

http://www.bluez.org

sudo apt install bluez-source
  • Section: admin
  • Architecture: all
  • Source Package: bluez
  • normalized package name match
  • 匹配方式:Bluez
Debian stable package indexes · deb.debian.org · Debian stable package indexes: bluez-source from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

bluez-test-scripts 5.82-1.1

test scripts of bluez

http://www.bluez.org

sudo apt install bluez-test-scripts
  • Section: admin
  • Architecture: all
  • Source Package: bluez
  • normalized package name match
  • 匹配方式:Bluez
Debian stable package indexes · deb.debian.org · Debian stable package indexes: bluez-test-scripts from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

bluez-test-tools 5.82-1.1

test tools of bluez

http://www.bluez.org

sudo apt install bluez-test-tools
  • Section: admin
  • Architecture: amd64
  • Source Package: bluez
  • 4 依赖
  • normalized package name match
  • 匹配方式:Bluez
Debian stable package indexes · deb.debian.org · Debian stable package indexes: bluez-test-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libbluetooth-dev 5.82-1.1

Development files for using the BlueZ Linux Bluetooth library

http://www.bluez.org

sudo apt install libbluetooth-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: bluez
  • 3 依赖
  • 1 提供
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Bluez
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libbluetooth-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libbluetooth3 5.82-1.1

Library to use the BlueZ Linux Bluetooth stack

http://www.bluez.org

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

bluez

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

bluetooth 5.72-0ubuntu5

Bluetooth support (metapackage)

http://www.bluez.org

sudo apt install bluetooth
  • Section: universe/admin
  • Architecture: all
  • Source Package: bluez
  • 1 依赖
  • 3 可选依赖
  • normalized package name match
  • 匹配方式:Bluez
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: bluetooth from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

bluez 5.72-0ubuntu5

Bluetooth tools and daemons

http://www.bluez.org

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

bluez-cups 5.72-0ubuntu5

Bluetooth printer driver for CUPS

http://www.bluez.org

sudo apt install bluez-cups
  • Section: admin
  • Architecture: amd64
  • Source Package: bluez
  • 4 依赖
  • normalized package name match
  • 匹配方式:Bluez
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: bluez-cups from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

bluez-hcidump 5.72-0ubuntu5

Analyses Bluetooth HCI packets

http://www.bluez.org

sudo apt install bluez-hcidump
  • Section: universe/admin
  • Architecture: amd64
  • Source Package: bluez
  • 1 依赖
  • normalized package name match
  • 匹配方式:Bluez
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: bluez-hcidump from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.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