# 使用 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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
- **版本:** 0.4.5
- **来源摘要:** C++ client to submit tracks to audioscrobbler
- **主页:** <https://www.50hz.ws/mpdas/>
- **仓库:** <https://github.com/hrkfdn/mpdas>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- mpdas (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.4.5
## 项目历史与用法

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
## 其他软件包管理器记录

- 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | An MPD audioscrobbling client | http://50hz.ws/mpdas/


## 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
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
