# Install cd-discid with Homebrew, apk, apt, dnf, MacPorts, zypper

Read CD and get CDDB discid information. Version 1.4 via Homebrew; verified 2026-06-19.

## Install

```sh
sudo av install brew:cd-discid
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install cd-discid
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install cd-discid
```

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

### Linux

- apk (92%):

```sh
sudo apk add cd-discid
```

  Evidence: Alpine Linux edge package indexes: cd-discid from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install cd-discid
```

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

- dnf (92%):

```sh
sudo dnf install cd-discid
```

  Evidence: Fedora Rawhide package metadata: cd-discid 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 cd-discid
```

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

## Package facts

- **Package key:** brew:cd-discid
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/cd-discid>
- **Version:** 1.4
- **Source summary:** Read CD and get CDDB discid information
- **Homepage:** <https://linukz.org/cd-discid.shtml>
- **Repository:** <https://github.com/taem/cd-discid>
- **Upstream docs:** <https://github.com/taem/cd-discid#readme>
- **License:** GPL-2.0-or-later
- **Source archive:** <https://linukz.org/download/cd-discid-1.4.tar.gz>
- **Last updated:** 2026-06-19T12:30:03-07:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- cd-discid (cli)
- cd-discid (alias)

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.4
- Package-manager updated: 2026-06-19
- Local data: ok
- Upstream repository: https://linukz.org/cd-discid.shtml
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

cd-discid is a small backend utility that reads an audio CD and prints CDDB disc-id information. It exists for scripts and metadata tools that need the classic CDDB query tuple or a MusicBrainz-compatible table of contents.

### Project history

The official README says cd-discid was developed with attention to CDDB specifications, using portions of their sample code. It identifies Robert Woodcock as the original author and Timur Birsh as the later maintainer.

The NEWS file traces releases back to version 0.2 in 1999, when cd-discid split off from cdgrab and stopped using libcdaudio. Later releases added Solaris, FreeBSD, OpenBSD, NetBSD, Mac OS X, Debian GNU/kFreeBSD, Debian GNU/Hurd, and MusicBrainz-related support.

### Adoption history

The input package facts list cd-discid in Homebrew, Debian, Ubuntu, Fedora/DNF, MacPorts, Alpine, openSUSE/Zypper, and other package ecosystems. That distribution matches its role as a tiny backend binary used by audio-ripping and metadata workflows.

### How it is used

The README shows cd-discid taking a CD-ROM device path and printing the 32-bit hex CDDB disc ID, track count, track frame offsets, and leadout length. The --musicbrainz option prints a table of contents suitable for calculating a MusicBrainz disc ID.

### Why package nerds care

cd-discid is notable because it packages a legacy physical-media metadata primitive into one C utility. It is small, portable, and useful to higher-level tools that want CDDB or MusicBrainz identifiers without embedding drive-specific C code.

### Timeline

- 1999: Version 0.2 split off from cdgrab and removed libcdaudio use.
- 2000: FreeBSD and OpenBSD support added.
- 2001: NetBSD support added.
- 2003: Mac OS X support added.
- 2009: Timur Birsh became maintainer and moved the project homepage.
- 2011: Version 1.2 added --musicbrainz output.
- 2013: Version 1.4 added --help, --version, DESTDIR install support, and fixes.

### Related projects

- CDDB/freedb supplied the query format and disc-id context described in the README.
- MusicBrainz is supported through the --musicbrainz table-of-contents output.

### Sources

- <https://api.github.com/repos/taem/cd-discid>
- <https://github.com/taem/cd-discid>
- <https://linukz.org/cd-discid.shtml>
- <https://github.com/taem/cd-discid#readme>
- <https://formulae.brew.sh/api/formula/cd-discid.json>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** cd-discid
- **Version Scheme:** 0
- **Revision:** 2
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** yes
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Debian apt - cd-discid - 1.4-2: normalized package name match | Debian stable package indexes: cd-discid from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | CDDB DiscID utility | http://linukz.org/cd-discid.shtml
- Ubuntu apt - cd-discid - 1.4-2: normalized package name match | Ubuntu 24.04 LTS package indexes: cd-discid from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | CDDB DiscID utility | http://linukz.org/cd-discid.shtml
- apk - cd-discid - 1.4-r7: normalized package name match | Alpine Linux edge package indexes: cd-discid from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A backend utility to get CDDB discid information from a CD-ROM disc | https://linukz.org/cd-discid.shtml
- apk - cd-discid-doc - 1.4-r7: normalized package name match | Alpine Linux edge package indexes: cd-discid-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A backend utility to get CDDB discid information from a CD-ROM disc (documentation) | https://linukz.org/cd-discid.shtml
- dnf - cd-discid - 1.4-32.fc44: normalized package name match | Fedora Rawhide package metadata: cd-discid from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Utility to get CDDB discid information | http://linukz.org/cd-discid.shtml
- zypper - cd-discid - 1.4-1.36: normalized package name match | openSUSE Tumbleweed package metadata: cd-discid from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Utility to get CDDB discid information | http://linukz.org/cd-discid.shtml
- MacPorts - cd-discid: normalized package name match | MacPorts ports tree: audio/cd-discid/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.
- [Homebrew utility packages](https://www.automicvault.com/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [avimetaedit](https://www.automicvault.com/pkg/brew/avimetaedit/) - Shares av.db curated category or tags: cli, media, metadata.
- [bwfmetaedit](https://www.automicvault.com/pkg/brew/bwfmetaedit/) - Shares av.db curated category or tags: cli, media, metadata.
- [dovi_tool](https://www.automicvault.com/pkg/brew/dovi-tool/) - Shares av.db curated category or tags: cli, media, metadata.
- [exempi](https://www.automicvault.com/pkg/brew/exempi/) - Shares av.db curated category or tags: cli, media, metadata.
- [exif](https://www.automicvault.com/pkg/brew/exif/) - Shares av.db curated category or tags: cli, media, metadata.
- [exiftags](https://www.automicvault.com/pkg/brew/exiftags/) - Shares av.db curated category or tags: cli, media, metadata.
- [exiftool](https://www.automicvault.com/pkg/brew/exiftool/) - Shares av.db curated category or tags: cli, media, metadata.
- [exiv2](https://www.automicvault.com/pkg/brew/exiv2/) - Shares av.db curated category or tags: cli, media, metadata.
- [media-info](https://www.automicvault.com/pkg/brew/media-info/) - Both packages work with overlapping file formats or content types. Shared terms: audio, cli, media, metadata.

## Combined YAML source

View the package source record on GitHub. [combined/cd-discid.yml](https://github.com/automic-vault/db/blob/main/combined/cd-discid.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
