# 使用 Homebrew, dnf, MacPorts, zypper, apt 安装 ocp

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

## 安装

```sh
sudo av install brew:ocp
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install ocp
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ocp
```

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

### Linux

- dnf (92%):

```sh
sudo dnf install ocp
```

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

- zypper (92%):

```sh
sudo zypper install ocp
```

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

- Debian apt (92%):

```sh
sudo apt install opencubicplayer
```

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

## 软件包事实

- **软件包键:** brew:ocp
- **软件包管理器:** Homebrew
- **版本:** 3.3.1
- **来源摘要:** UNIX port of the Open Cubic Player
- **主页:** <https://stian.cubic.org/project-ocp.php>
- **仓库:** <https://github.com/mywave82/opencubicplayer>
- **最后更新:** 2026-05-25T03:07:29Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- ocp (别名)
- ocp-curses (别名)
- ocp-sdl3 (别名)
- ocp-vcsa (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Open Cubic Player is a long-lived tracker and retro-audio player descended from the DOS demoscene-era Cubic Player line. The package in av.db is the Unix port, shipped as `ocp` and related front ends, and aimed at playing module, chiptune, MIDI, OPL/AdLib, SID, game-music, and ordinary compressed audio formats from a keyboard-driven interface.

### 项目历史

The official Open Cubic Player site records the first OCP 0.9 release at The Party 1994, with Sound Blaster-family support, and notes that version 2.6.0pre6 was released in January 2002. The historical manual describes OPENCP as derived from Cubic Player 2.0 alpha, published under the GNU GPL, and distributed with public source code.

The project’s own news separated the aging DOS line from the Unix/Linux line in December 2006: DOS development had stalled for about five years, while the Unix/Linux port had become the main development tree. The GitHub repository packages that Unix port as a text-based player with curses, Linux console, X11, and SDL output paths, continuing OCP’s visual-audio interface on Unix-like systems and MinGW builds.

### 采用历史

OCP survived because it occupied a niche that ordinary media players rarely covered: direct playback and visualization of tracker modules and scene formats. Its official and repository documentation emphasize broad format coverage, including MOD, XM, S3M, IT, SID, YM, AY, AdPlug/OPL formats, game-music emulator formats, MIDI, FLAC, Ogg, MP3, WAV, cue sheets, and Linux CD audio.

Distribution metadata shows the Unix port packaged across Homebrew, Debian/Ubuntu, Fedora, MacPorts, and openSUSE-style ecosystems. That package spread matters because OCP is the kind of program users expect to invoke quickly against archived module collections, old game soundtracks, or demoscene directories without rebuilding an old DOS stack.

### 使用方式

Users run `ocp`, `ocp-curses`, `ocp-sdl3`, or console-specific variants to browse files, build playlists, and switch visualization modes while audio plays. The README documents keyboard controls for channel muting, soloing, FFT displays, oscilloscopes, track views, file-browser metadata, and playback speed or pitch adjustment, which makes the program closer to a tracker-era listening workstation than a simple decoder.

The Unix port also integrates package-nerd details that explain why it remains interesting: alternate terminal and graphics back ends, Unicode font handling through GNU Unifont, optional SDL/X11 builds, built-in modland.com browsing support, and a changelog that keeps adding format support and platform fixes.

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

For package nerds, `ocp` is an unusually rich compatibility artifact: it preserves a DOS-era player culture while being actively packaged as a Unix command-line/terminal application. Its dependency and build surface crosses curses, SDL, X11, audio back ends, Unicode fonts, archive readers, and many tiny legacy music codecs, so it is a good stress test for multimedia packaging beyond mainstream audio libraries.

### 时间线

- 1994: OCP 0.9 was released at The Party 1994 with Sound Blaster support.
- 2002: version 2.6.0pre6 was released for the historical Open Cubic Player line.
- 2006: the project declared the DOS version dead and identified the Unix/Linux port as the main development tree.
- 2020s: the Unix repository continued adding platform, UI, and format support, including SDL3 and additional retro-music formats documented in its changelog.

### Related projects

- OCP sits near tracker and demoscene tools such as ProTracker, FastTracker 2, Scream Tracker, Impulse Tracker, Schism Tracker, MilkyTracker, AdPlug, libsidplayfp, TiMidity++, Game Music Emulator, and format archives such as modland.com.

### 来源

- <https://github.com/mywave82/opencubicplayer>
- <https://raw.githubusercontent.com/mywave82/opencubicplayer/master/Changelog>
- <https://raw.githubusercontent.com/mywave82/opencubicplayer/master/README.md>
- <https://www.cubic.org/player/>
- <https://www.cubic.org/player/opencp.pdf>
- source_facts.executables
- source_facts.package-manager


## 安全说明

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


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

- Debian apt - opencubicplayer - 1:3.0.1+ds-1+b1: normalized package name match | Debian stable package indexes: opencubicplayer from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | UNIX port of Open Cubic Player | https://stian.cubic.org/project-ocp.php
- Debian apt - opencubicplayer-doc - 1:3.0.1+ds-1: normalized package name match | Debian stable package indexes: opencubicplayer-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Documentation for UNIX port of Open Cubic Player | https://stian.cubic.org/project-ocp.php
- Ubuntu apt - opencubicplayer - 1:0.2.107+ds-1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: opencubicplayer from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | UNIX port of Open Cubic Player | https://stian.cubic.org/project-ocp.php
- Ubuntu apt - opencubicplayer-doc - 1:0.2.107+ds-1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: opencubicplayer-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Documentation for UNIX port of Open Cubic Player | https://stian.cubic.org/project-ocp.php
- dnf - ocp - 3.3.1-1.fc45: normalized package name match | Fedora Rawhide package metadata: ocp from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Open Cubic Player for MOD/S3M/XM/IT/MIDI music files | https://stian.cubic.org/project-ocp.php
- zypper - ocp - 3.3.1-1.3: normalized package name match | openSUSE Tumbleweed package metadata: ocp from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Open Cubic Player for MOD/S3M/XM/IT/MIDI music files | https://stian.cubic.org/coding-ocp.php
- MacPorts - ocp: normalized package name match | MacPorts ports tree: audio/ocp/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/ocp.yml](https://github.com/mxcl/pkgdb/blob/main/combined/ocp.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
