# 使用 Homebrew, apk, apt, dnf, MacPorts, Nix, zypper, winget 安装 xmp

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

## 安装

```sh
sudo av install brew:xmp
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install xmp
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install xmp
```

  证据: MacPorts ports tree: audio/xmp/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add xmp
```

  证据: Alpine Linux edge package indexes: xmp from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install xmp
```

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

- dnf (92%):

```sh
sudo dnf install xmp
```

  证据: Fedora Rawhide package metadata: xmp 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#xmp
```

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

- zypper (92%):

```sh
sudo zypper install xmp
```

  证据: openSUSE Tumbleweed package metadata: xmp from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- winget (92%):

```sh
winget install --id Thunder.Xmp -e
```

  证据: Windows Package Manager source index: Thunder.Xmp from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:xmp
- **软件包管理器:** Homebrew
- **版本:** 4.3.1
- **来源摘要:** Command-line player for module music formats (MOD, S3M, IT, etc)
- **主页:** <https://xmp.sourceforge.net/>
- **仓库:** <https://github.com/libxmp/xmp-cli>
- **最后更新:** 2026-07-30T13:29:00Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- xmp (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Extended Module Player, packaged as xmp, is a command-line tracker-module player for formats such as MOD, S3M, XM, and IT. It is a small but culturally dense media package: a Unix-style player for Amiga, PC demoscene, game-music, and tracker files that do not fit ordinary stream-audio assumptions.

### 项目历史

The project homepage identifies xmp as a portable command-line module player and shows the long-running copyright line for Claudio Matsuoka and Hipolito Carraro Jr. The modern project split begins with the 4.0 line: the site says xmp was separated into libxmp, which renders modules to PCM, and a player application that uses the library.

That split gave the project two lives. The xmp CLI stayed the package-manager executable for people who want to play modules in a terminal, while libxmp became the reusable engine for players, information extractors, renderers, games, bindings, Android builds, and JavaScript/WebAssembly experiments.

### 采用历史

xmp's adoption followed tracker-music preservation and portability. The homepage lists mainstream and obscure formats from Amiga, Atari, Acorn, Apple IIgs, C64, and PC families, plus compressed module formats and packers. That breadth made it useful when a listener or tool author cared about old module quirks rather than only the four best-known tracker formats.

The project also spread through related front ends and embeddings. The official related-projects list points to Xmp for Android, Python bindings, WebXmp, and Chiptune.js, while the libxmp repository packages the playback core as a library rather than only a standalone player.

### 使用方式

As a CLI, xmp is normally used by passing one or more module files and letting the player decode format metadata, instruments, patterns, and sample data through libxmp. It is useful for quick auditioning, batch playback, and verifying whether an old module is recognized correctly.

As an ecosystem component, libxmp is used when applications need to render modules to PCM data without shelling out to a player. That puts the package beside tools such as MikMod and OpenMPT/libopenmpt in the tracker-playback space.

### 为什么软件包爱好者会关心

xmp matters because package managers are one of the ways obscure media formats stay executable. A single brew or distro package can keep decades of tracker music playable without asking users to run an emulator or hunt for platform-specific players.

It is also a neat package split: the command-line player is small and familiar, while the hard compatibility work lives in libxmp for downstream programs.

### 时间线

- 1996: The project copyright line begins for Claudio Matsuoka and Hipolito Carraro Jr.
- 2013-04-21: The GitHub xmp-cli repository is created.
- 4.0 era: The project splits into libxmp and the xmp player application.
- 2026: The homepage lists libxmp 4.7.0 and xmp 4.3.0 as current stable lines.

### Related projects

- libxmp is the playback/rendering library underneath the modern xmp CLI.
- Xmp for Android uses libxmp through the Android NDK.
- WebXmp and Chiptune.js demonstrate browser-side or JavaScript/WebAssembly uses of libxmp.
- MikMod and libopenmpt are adjacent module-playback projects in the same preservation and tracker-music niche.

### 来源

- <https://github.com/libxmp/libxmp>
- <https://github.com/libxmp/xmp-cli>
- <https://manpages.ubuntu.com/manpages/focal/man1/xmp.1.html>
- <https://xmp.sourceforge.net/>


## 安全说明

没有找到 xmp 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


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

- Debian apt - xmp - 4.2.0-2: normalized package name match | Debian stable package indexes: xmp from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | module player supporting AWE32, GUS, and software-mixing | https://xmp.sourceforge.net/
- Nix - xmp: normalized package name match | nixpkgs package indexes: pkgs/by-name/xm/xmp/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - xmp - 4.2.0-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: xmp from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | module player supporting AWE32, GUS, and software-mixing | https://xmp.sourceforge.net/
- apk - xmp - 4.2.0-r0: normalized package name match | Alpine Linux edge package indexes: xmp from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Command-line mod player using libxmp | https://github.com/libxmp/xmp-cli
- apk - xmp-doc - 4.2.0-r0: normalized package name match | Alpine Linux edge package indexes: xmp-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Command-line mod player using libxmp (documentation) | https://github.com/libxmp/xmp-cli
- dnf - xmp - 4.3.1-1.fc45: normalized package name match | Fedora Rawhide package metadata: xmp from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | A multi-format module player | http://xmp.sourceforge.net/
- zypper - xmp - 4.3.1-1.1: normalized package name match | openSUSE Tumbleweed package metadata: xmp from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Extended Module Player for MOD/S3M/XM/IT/etc. | http://xmp.sf.net/
- MacPorts - xmp: normalized package name match | MacPorts ports tree: audio/xmp/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- winget - Thunder.Xmp: normalized package name match | Windows Package Manager source index: Thunder.Xmp from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

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


## 来源

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