# Install ocp with Homebrew, apt, dnf, MacPorts, zypper

UNIX port of the Open Cubic Player. Version 3.3.1 via Homebrew; verified 2026-05-25.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install ocp
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ocp
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install opencubicplayer
```

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

- dnf (92%):

```sh
sudo dnf install ocp
```

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

- zypper (92%):

```sh
sudo zypper install ocp
```

  Evidence: openSUSE Tumbleweed package metadata: ocp from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:ocp
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/ocp>
- **Version:** 3.3.1
- **Source summary:** UNIX port of the Open Cubic Player
- **Homepage:** <https://stian.cubic.org/project-ocp.php>
- **Repository:** <https://github.com/mywave82/opencubicplayer>
- **Upstream docs:** <https://github.com/mywave82/opencubicplayer#readme>
- **License:** GPL-2.0-or-later
- **Source archive:** <https://stian.cubic.org/ocp/ocp-3.3.1.tar.xz>
- **Last updated:** 2026-05-25T03:07:29Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- ocp (cli)
- ocp-curses (cli)
- ocp-sdl3 (cli)
- ocp-vcsa (cli)
- ocp (alias)
- ocp-curses (alias)
- ocp-sdl3 (alias)
- ocp-vcsa (alias)

## Dependencies

- ancient
- cjson
- flac
- freetype
- game-music-emu
- jpeg-turbo
- libdiscid
- libogg
- libpng
- libvorbis
- mad
- sdl3

## Build dependencies

- pkgconf
- xa

## Uses from macOS

- bzip2
- ncurses

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 3.3.1
- Package-manager updated: 2026-05-25
- Local data: ok
- Upstream repository: https://stian.cubic.org/project-ocp.php
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

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

### Sources

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


## Security Notes

No matching local secret-handling manifest was found for ocp. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

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

## Other Package-Manager Records

- 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.1.3-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/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-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.1: normalized package name match | openSUSE Tumbleweed package metadata: ocp from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-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


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Media and graphics packages](https://www.automicvault.com/pkg/media-graphics-tools/) - Matched media, image, audio, video, or graphics metadata.
- [Package ecosystem packages](https://www.automicvault.com/pkg/package-ecosystem-tools/) - Matched package manager, installer, dependency, registry, or publishing metadata.
- [ancient](https://www.automicvault.com/pkg/brew/ancient/) - Runtime dependency declared by Homebrew.
- [flac](https://www.automicvault.com/pkg/brew/flac/) - Runtime dependency declared by Homebrew.
- [freetype](https://www.automicvault.com/pkg/brew/freetype/) - Runtime dependency declared by Homebrew.
- [jpeg-turbo](https://www.automicvault.com/pkg/brew/jpeg-turbo/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [xa](https://www.automicvault.com/pkg/brew/xa/) - Build dependency declared by Homebrew.
- [mikmod](https://www.automicvault.com/pkg/brew/mikmod/) - Shares av.db curated category or tags: audio, cli, media, module-player, tracker-music.
- [xmp](https://www.automicvault.com/pkg/brew/xmp/) - Shares av.db curated category or tags: audio, cli, media, module-player, tracker-music.
- [flac123](https://www.automicvault.com/pkg/brew/flac123/) - Shares av.db curated category or tags: audio, audio-player, cli, media.
- [kew](https://www.automicvault.com/pkg/brew/kew/) - Shares av.db curated category or tags: audio, audio-player, cli, media.
- [libmikmod](https://www.automicvault.com/pkg/brew/libmikmod/) - Shares av.db curated category or tags: audio, cli, media, module-player.
- [libopenmpt](https://www.automicvault.com/pkg/brew/libopenmpt/) - Shares av.db curated category or tags: audio, cli, media, tracker-music.
- [mp3blaster](https://www.automicvault.com/pkg/brew/mp3blaster/) - Shares av.db curated category or tags: audio, audio-player, cli, media.
- [mpg321](https://www.automicvault.com/pkg/brew/mpg321/) - Shares av.db curated category or tags: audio, audio-player, cli, media.
- [mpd](https://www.automicvault.com/pkg/brew/mpd/) - Both packages work with overlapping file formats or content types. Shared terms: audio, cli, emu, flac, game.

## Combined YAML source

View the package source record on GitHub. [combined/ocp.yml](https://github.com/automic-vault/db/blob/main/combined/ocp.yml)


## Sources

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