# 使用 Homebrew, apt, dnf, Nix 安装 mpdas

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

## 安装

```sh
sudo av install brew:mpdas
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install mpdas
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install mpdas
```

  证据: Debian stable package indexes: mpdas from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install mpdas
```

  证据: Fedora Rawhide package metadata: mpdas from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#mpdas
```

  证据: nixpkgs package indexes: pkgs/by-name/mp/mpdas/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:mpdas
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/mpdas>
- **版本:** 0.4.5
- **来源摘要:** C++ client to submit tracks to audioscrobbler
- **主页:** <https://www.50hz.ws/mpdas/>
- **仓库:** <https://github.com/hrkfdn/mpdas>
- **上游文档:** <https://www.50hz.ws/mpdas/>
- **许可证:** BSD-3-Clause
- **源码归档:** <https://www.50hz.ws/mpdas/mpdas-0.4.5.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- mpdas (cli)
- mpdas (别名)

## 依赖

- libmpdclient

## 构建依赖

- pkgconf

## macOS 提供的库

- curl

## 安装行为

- post-install 钩子: 未定义
- 服务: declared
- Bottle: 可用 于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.4.5
- 本地数据: OK
- 上游仓库: https://www.50hz.ws/mpdas/
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

mpdas is a C++ AudioScrobbler client for Music Player Daemon, maintained in Henrik Friedrichsen's hrkfdn/mpdas repository. It uses libmpdclient to read song data from MPD and libcurl to submit that data to Last.fm, and the README identifies support for the 2.0 AudioScrobbler protocol. Its feature set is practical rather than broad: now-playing updates, scrobbling, caching, config files, user switching, and Last.fm love/unlove integration via MPD client-to-client messages.

### 项目历史

The FreeBSD port history places mpdas in packaging channels by November 2008 and describes its original niche clearly: an MPD scrobbler written in C++ that cached played songs during downtime or connectivity problems. That made it an alternative to mpdscribble for users whose MPD setup needed Last.fm submission, especially around protocol compatibility and offline caching.

### 使用方式

In practice, mpdas is configured with a .mpdasrc-style config containing Last.fm and MPD connection details, then run beside MPD so listening history can be submitted without involving a desktop music player.

### 来源

- <https://en.wikipedia.org/wiki/Last.fm>
- <https://github.com/hrkfdn/mpdas>
- <https://www.freshports.org/audio/mpdas/>


## 安全说明

broad file, network, media, or database tool signal. formula declares a Homebrew service.

- **Geiger 风险:** orange / 中
- broad file, network, media, or database tool signal
- formula declares a Homebrew service


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

- Unix: ~/.mpdasrc, $PREFIX/mpdasrc

## Credential files

- Unix: ~/.mpdasrc, $PREFIX/mpdasrc
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** mpdas
- **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

## 其他软件包管理器记录

- Debian apt - mpdas - 0.4.5-1+b2: normalized package name match | Debian stable package indexes: mpdas from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | AudioScrobbler client for MPD | https://50hz.ws/mpdas/
- Nix - mpdas: normalized package name match | nixpkgs package indexes: pkgs/by-name/mp/mpdas/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - mpdas - 0.4.5-1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: mpdas from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | AudioScrobbler client for MPD | https://50hz.ws/mpdas/
- dnf - mpdas - 0.4.5-13.fc45: normalized package name match | Fedora Rawhide package metadata: mpdas from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | An MPD audioscrobbling client | http://50hz.ws/mpdas/


## 相关链接

- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Media and graphics packages](https://pkg.so/zh-hans/media-graphics-tools/) - Matched media, image, audio, video, or graphics metadata.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [mpdscribble](https://pkg.so/zh-hans/brew/mpdscribble/) - Shares pkgdb curated category or tags: audio, cli, lastfm, media, mpd.
- [cmusfm](https://pkg.so/zh-hans/brew/cmusfm/) - Shares pkgdb curated category or tags: audio, cli, lastfm, media, scrobbling.
- [mpd](https://pkg.so/zh-hans/brew/mpd/) - Shares pkgdb curated category or tags: audio, cli, media, mpd.
- [mpc](https://pkg.so/zh-hans/brew/mpc/) - Shares pkgdb curated category or tags: audio, cli, media, mpd.
- [rmpc](https://pkg.so/zh-hans/brew/rmpc/) - Shares pkgdb curated category or tags: audio, cli, media, mpd.
- [libsndfile](https://pkg.so/zh-hans/brew/libsndfile/) - Shares pkgdb curated category or tags: audio, cli, media.
- [flac](https://pkg.so/zh-hans/brew/flac/) - Shares pkgdb curated category or tags: audio, cli, media.
- [alsa-lib](https://pkg.so/zh-hans/brew/alsa-lib/) - Shares pkgdb curated category or tags: audio, cli, media.

## Combined YAML source

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


## 来源

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