# bluez を Homebrew, apk, apt, dnf, Nix, pacman, zypper, MacPorts でインストール

bluez のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:bluez
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install bluez
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install bluemoon
```

  証拠: MacPorts ports tree: games/bluemoon/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add bluez
```

  証拠: Alpine Linux edge package indexes: bluez from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install bluez
```

  証拠: Debian stable package indexes: bluez from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install bluez
```

  証拠: Fedora Rawhide package metadata: bluez from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#bluez
```

  証拠: nixpkgs package indexes: pkgs/by-name/bl/bluez/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S bluez
```

  証拠: Arch Linux sync databases: bluez from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install bluez
```

  証拠: openSUSE Tumbleweed package metadata: bluez from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:bluez
- **パッケージマネージャ:** Homebrew
- **バージョン:** 5.87
- **ソース概要:** Bluetooth protocol stack for Linux
- **ホームページ:** <https://www.bluez.org>
- **最終更新:** 2026-07-05T09:17:21Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- bluemoon (エイリアス)
- bluetoothctl (エイリアス)
- btattach (エイリアス)
- btmon (エイリアス)
- hex2hcd (エイリアス)
- isotest (エイリアス)
- l2ping (エイリアス)
- l2test (エイリアス)
- mpris-proxy (エイリアス)
- rctest (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 5.87
## プロジェクトの歴史と使われ方

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.

### ソース

- <https://git.kernel.org/pub/scm/bluetooth/bluez.git/refs/tags>
- <https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/README>
- <https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/doc>
- source_facts.package-manager


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals


## 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

- Linux: /etc/bluetooth/main.conf
## 他のパッケージマネージャ記録

- Debian apt - bluetooth - 5.82-1.1: normalized package name match | Debian stable package indexes: bluetooth from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Bluetooth support (metapackage) | http://www.bluez.org
- Debian apt - bluez - 5.82-1.1: normalized package name match | Debian stable package indexes: bluez from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Bluetooth tools and daemons | http://www.bluez.org
- Debian apt - bluez-cups - 5.82-1.1: normalized package name match | Debian stable package indexes: bluez-cups from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Bluetooth printer driver for CUPS | http://www.bluez.org
- Debian apt - bluez-hcidump - 5.82-1.1: normalized package name match | Debian stable package indexes: bluez-hcidump from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Analyses Bluetooth HCI packets | http://www.bluez.org
- Debian apt - bluez-meshd - 5.82-1.1: normalized package name match | Debian stable package indexes: bluez-meshd from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | bluetooth mesh daemon | http://www.bluez.org
- Debian apt - bluez-obexd - 5.82-1.1: normalized package name match | Debian stable package indexes: bluez-obexd from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | bluez obex daemon | http://www.bluez.org
- Debian apt - bluez-source - 5.82-1.1: normalized package name match | Debian stable package indexes: bluez-source from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Source code for the BlueZ Linux Bluetooth stack | http://www.bluez.org
- Debian apt - bluez-test-scripts - 5.82-1.1: normalized package name match | Debian stable package indexes: bluez-test-scripts from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | test scripts of bluez | http://www.bluez.org
- Debian apt - bluez-test-tools - 5.82-1.1: normalized package name match | Debian stable package indexes: bluez-test-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | test tools of bluez | http://www.bluez.org
- Debian apt - libbluetooth-dev - 5.82-1.1: normalized package name match | Debian stable package indexes: libbluetooth-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Development files for using the BlueZ Linux Bluetooth library | http://www.bluez.org
- Debian apt - libbluetooth3 - 5.82-1.1: normalized package name match | Debian stable package indexes: libbluetooth3 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Library to use the BlueZ Linux Bluetooth stack | http://www.bluez.org
- Nix - bluez: normalized package name match | nixpkgs package indexes: pkgs/by-name/bl/bluez/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - bluetooth - 5.72-0ubuntu5: normalized package name match | Ubuntu 24.04 LTS package indexes: bluetooth from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Bluetooth support (metapackage) | http://www.bluez.org
- Ubuntu apt - bluez - 5.72-0ubuntu5: normalized package name match | Ubuntu 24.04 LTS package indexes: bluez from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Bluetooth tools and daemons | http://www.bluez.org
- Ubuntu apt - bluez-cups - 5.72-0ubuntu5: normalized package name match | Ubuntu 24.04 LTS package indexes: bluez-cups from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Bluetooth printer driver for CUPS | http://www.bluez.org
- Ubuntu apt - bluez-hcidump - 5.72-0ubuntu5: normalized package name match | Ubuntu 24.04 LTS package indexes: bluez-hcidump from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Analyses Bluetooth HCI packets | http://www.bluez.org


## Combined YAML source

View the package source record on GitHub. [combined/bluez.yml](https://github.com/mxcl/pkgdb/blob/main/combined/bluez.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
