# librespot を Homebrew, apk, Nix, pacman でインストール

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

## インストール

```sh
sudo av install brew:librespot
```

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

### macOS

- Homebrew (100%):

```sh
brew install librespot
```

  証拠: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add librespot
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#librespot
```

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

- pacman (92%):

```sh
sudo pacman -S librespot
```

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

## パッケージ情報

- **パッケージキー:** brew:librespot
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/librespot>
- **バージョン:** 0.8.0
- **ソース概要:** Open Source Spotify client library
- **ホームページ:** <https://github.com/librespot-org/librespot>
- **リポジトリ:** <https://github.com/librespot-org/librespot>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://github.com/librespot-org/librespot/archive/refs/tags/v0.8.0.tar.gz>
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- librespot (cli)
- librespot (エイリアス)

## ビルド依存関係

- pkgconf
- rust

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 0.8.0
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/librespot-org/librespot
- 検出された最新: v0.8.0 (最新)
- 情報: No package-manager update timestamp was available.
## プロジェクトの歴史と使われ方

librespot is an open source Rust client library and CLI for Spotify playback and Spotify Connect receiver use. It occupies the unofficial-client space left by Spotify's deprecated closed-source libspotify, with the important limitation documented by the project that it only supports Spotify Premium accounts.

### プロジェクトの歴史

The GitHub repository was created on November 15, 2017. Its README describes the project as an open source client library that enables applications to use Spotify's service through multiple audio backends and act as a Spotify Connect receiver.

The annotated v0.1.0 tag, dated November 6, 2019, is marked as the initial release. Subsequent releases through the 0.2, 0.3, 0.4, 0.5, 0.6, and 0.7 lines show the project evolving from a library experiment into a regularly packaged Rust command-line service used by headless speakers, embedded systems, and desktop integrations.

### 採用の歴史

librespot gained package-manager adoption because it solved a specific problem: make a machine appear as a Spotify Connect speaker without running Spotify's full proprietary desktop client. Its Rust implementation, CLI packaging, multiple audio backends, and availability on crates.io made it attractive for small servers, single-board computers, appliance images, and music-player projects.

The project remains sensitive to Spotify protocol changes because it interoperates with a proprietary service rather than a public stable protocol. That makes its release history interesting to maintainers: breakage often lands as authentication, API, metadata, or playback fixes rather than ordinary library feature work.

### 使われ方

The README documents cargo install librespot and a CLI invocation such as creating a named speaker with a bitrate setting. In packaged deployments it is commonly run as a background service with explicit backend, device name, bitrate, cache, and authentication options.

### パッケージ好きにとっての重要性

librespot is package-nerd significant because it is both useful and inherently awkward: an open client for a proprietary streaming ecosystem, written in Rust, shipped as a CLI daemon, and dependent on reverse-engineered behavior. It is the sort of package that turns old speakers, Raspberry Pi boxes, NAS machines, and desktops into network audio endpoints.

### タイムライン

- 2017-11-15: GitHub repository created.
- 2019-11-06: v0.1.0 initial release tag dated.
- 2021-05-04: v0.2.0 release published.
- 2022-05-22: v0.4.0 release published.
- 2024-10-15: v0.5.0 release published.
- 2025-08-31: v0.7.1 release published.

### Related projects

- Related projects include Spotify Connect clients, Mopidy integrations, pyspotify/libspotify-era applications, librespot-java, audio backends such as ALSA and PulseAudio, and service wrappers used by headless media appliances.

### ソース

- <https://api.github.com/repos/librespot-org/librespot>
- <https://api.github.com/repos/librespot-org/librespot/git/tags/9726ccb42c64a96e17b34a61296166af6a1b3fc0>
- <https://api.github.com/repos/librespot-org/librespot/releases?per_page=100>
- <https://crates.io/crates/librespot>
- <https://github.com/librespot-org/librespot>


## セキュリティノート

library-like package without higher-risk signals.

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

## ソースデータベース詳細

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

## 他のパッケージマネージャ記録

- Nix - librespot: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/librespot/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - librespot - 0.8.0-r0: normalized package name match | Alpine Linux edge package indexes: librespot from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Open Source Spotify client library | https://github.com/librespot-org/librespot
- apk - librespot-openrc - 0.8.0-r0: normalized package name match | Alpine Linux edge package indexes: librespot-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Open Source Spotify client library (OpenRC init scripts) | https://github.com/librespot-org/librespot
- pacman - librespot - 0.8.0-5: normalized package name match | Arch Linux sync databases: librespot from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Open source client library for Spotify | https://github.com/librespot-org/librespot


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://pkg.so/ja/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://pkg.so/ja/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [pkgconf](https://pkg.so/ja/brew/pkgconf/) - Build dependency declared by Homebrew.
- [rust](https://pkg.so/ja/brew/rust/) - Build dependency declared by Homebrew.
- [shairport-sync](https://pkg.so/ja/brew/shairport-sync/) - Shares pkgdb curated category or tags: audio, cli, media, streaming.
- [libshout](https://pkg.so/ja/brew/libshout/) - Shares pkgdb curated category or tags: audio, cli, media, streaming.
- [snapcast](https://pkg.so/ja/brew/snapcast/) - Shares pkgdb curated category or tags: audio, cli, media, streaming.
- [go-librespot](https://pkg.so/ja/brew/go-librespot/) - Shares pkgdb curated category or tags: audio, cli, media, spotify, spotify-connect.
- [asak](https://pkg.so/ja/brew/asak/) - Shares pkgdb curated category or tags: audio, cli, media, rust.
- [ezstream](https://pkg.so/ja/brew/ezstream/) - Shares pkgdb curated category or tags: audio, cli, media, streaming.
- [mp3cat](https://pkg.so/ja/brew/mp3cat/) - Shares pkgdb curated category or tags: audio, cli, media, streaming.
- [libsndfile](https://pkg.so/ja/brew/libsndfile/) - Shares pkgdb curated category or tags: audio, cli, media.

## Combined YAML source

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


## ソース

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
