# Install libcdio with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

Compact Disc Input and Control Library. Version 2.3.0 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:libcdio
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install libcdio
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install libcdio
```

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

### Linux

- apk (92%):

```sh
sudo apk add libcdio
```

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

- Debian apt (92%):

```sh
sudo apt install libcdio++-dev
```

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

- dnf (92%):

```sh
sudo dnf install libcdio
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#libcdio
```

  Evidence: nixpkgs package indexes: pkgs/by-name/li/libcdio/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S libcdio
```

  Evidence: Arch Linux sync databases: libcdio from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install libcdio++1
```

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

## Package facts

- **Package key:** brew:libcdio
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/libcdio>
- **Version:** 2.3.0
- **Source summary:** Compact Disc Input and Control Library
- **Homepage:** <https://savannah.gnu.org/projects/libcdio/>
- **Repository:** <https://github.com/libcdio/libcdio>
- **Upstream docs:** <https://github.com/libcdio/libcdio#readme>
- **License:** GPL-3.0-or-later
- **Source archive:** <https://github.com/libcdio/libcdio/releases/download/2.3.0/libcdio-2.3.0.tar.gz>
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- cd-drive (cli)
- cd-info (cli)
- cd-read (cli)
- iso-info (cli)
- iso-read (cli)
- mmc-tool (cli)
- cd-drive (alias)
- cd-info (alias)
- cd-read (alias)
- iso-info (alias)
- iso-read (alias)
- mmc-tool (alias)

## Build dependencies

- pkgconf

## 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: 2.3.0
- Local data: ok
- Upstream repository: https://github.com/libcdio/libcdio
- info: No package-manager update timestamp was available.
- info: No cached GitHub release or tag data was available.
## Project history and usage

libcdio is the GNU Compact Disc Input and Control library: a C library and tool set for accessing CD-ROM drives, CD images, ISO-9660 filesystems, UDF media, and MMC device commands through a common API.

### Project history

The GNU manual gives libcdio an unusually explicit origin story. Rocky Bernstein describes becoming interested in Video CDs through VCDImager, extracting reusable VCD and CD-reading pieces with Herbert Valerio Riedel's encouragement, and naming the CD reading/control library libcdio to avoid confusion with CD-I.

The same manual frames the project as an answer to the portability mess in early-2000s media players. Around 2002, applications such as xine, MPlayer, VLC, and XMMS carried platform-specific CD access code. libcdio set out to isolate that OS and device variability behind one library, then grew ISO-9660 support, MMC command support, and cdparanoia integration.

### Adoption history

libcdio became a plumbing package for multimedia stacks rather than an end-user application. Its command-line tools such as cd-info, cd-read, iso-info, iso-read, cd-drive, and mmc-tool made it useful to packagers and diagnostics, while libraries such as libiso9660 let other programs consume disc images and physical discs through the same dependency.

The project is packaged broadly across Unix-like distributions and Homebrew. That adoption reflects a narrow but durable need: software still needs to inspect optical media, parse ISO images, read CD-DA, or issue low-level drive commands even as optical drives became less common.

### How it is used

Users usually encounter libcdio indirectly through media players, ripping tools, image-inspection commands, or build dependencies. Developers use it to avoid writing separate drive-access code for Linux, BSD, macOS, Windows-style layers, and image formats.

### Why package nerds care

libcdio is package-nerd catnip because it sits at the junction of hardware, file formats, ancient media-player portability, GNU packaging, and command-line diagnostics. It also explains recurring dependency chains such as libcdio, libcdio-paranoia, libcddb, vcdimager, and ISO-9660 tooling in old-school multimedia formulas.

### Timeline

- 2002: libcdio's manual describes the portability problem in free software CD/media players around this period.
- 2003-11-22: GNU FTP archive lists libcdio 0.64.
- 2008-2010: GNU manual copyright range shows continued documentation work by Rocky Bernstein and Herbert Valerio Riedel.
- 2012-2014: GNU manual copyright range records later documentation maintenance.
- 2025: GNU manual copyright line records renewed documentation updates.

### Related projects

- Related projects include VCDImager, libvcdinfo, libiso9660, libcdio-paranoia, cdparanoia, libcddb, libburn, xine, MPlayer, VLC, and other applications that historically needed portable CD or CD-image access.

### Sources

- <https://formulae.brew.sh/formula/libcdio>
- <https://ftp.gnu.org/gnu/libcdio/>
- <https://github.com/libcdio/libcdio>
- <https://savannah.gnu.org/projects/libcdio>
- <https://www.gnu.org/software/libcdio/libcdio.html>


## Security Notes

library-like package without higher-risk signals.

- **Geiger risk:** green / low
- library-like package without higher-risk signals

## Source Database Details

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

## Other Package-Manager Records

- Debian apt - libcdio++-dev - 2.2.0-4.1~deb13u1: normalized package name match | Debian stable package indexes: libcdio++-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | C++ library to read and control CD-ROM (development files) | https://www.gnu.org/software/libcdio/
- Debian apt - libcdio++1t64 - 2.2.0-4.1~deb13u1: normalized package name match | Debian stable package indexes: libcdio++1t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | C++ library to read and control CD-ROM | https://www.gnu.org/software/libcdio/
- Debian apt - libcdio-dev - 2.2.0-4.1~deb13u1: normalized package name match | Debian stable package indexes: libcdio-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library to read and control CD-ROM (development files) | https://www.gnu.org/software/libcdio/
- Debian apt - libcdio-utils - 2.2.0-4.1~deb13u1: normalized package name match | Debian stable package indexes: libcdio-utils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | sample applications based on the CDIO libraries | https://www.gnu.org/software/libcdio/
- Debian apt - libcdio19t64 - 2.2.0-4.1~deb13u1: normalized package name match | Debian stable package indexes: libcdio19t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library to read and control CD-ROM | https://www.gnu.org/software/libcdio/
- Debian apt - libiso9660++-dev - 2.2.0-4.1~deb13u1: normalized package name match | Debian stable package indexes: libiso9660++-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | C++ library to work with ISO9660 filesystems (development files) | https://www.gnu.org/software/libcdio/
- Debian apt - libiso9660++1 - 2.2.0-4.1~deb13u1: normalized package name match | Debian stable package indexes: libiso9660++1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | C++ library to work with ISO9660 filesystems | https://www.gnu.org/software/libcdio/
- Debian apt - libiso9660-12 - 2.2.0-4.1~deb13u1: normalized package name match | Debian stable package indexes: libiso9660-12 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library to work with ISO9660 filesystems | https://www.gnu.org/software/libcdio/
- Debian apt - libiso9660-dev - 2.2.0-4.1~deb13u1: normalized package name match | Debian stable package indexes: libiso9660-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library to work with ISO9660 filesystems (development files) | https://www.gnu.org/software/libcdio/
- Debian apt - libudf-dev - 2.2.0-4.1~deb13u1: normalized package name match | Debian stable package indexes: libudf-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library to work with UDF filesystems (development files) | https://www.gnu.org/software/libcdio/
- Debian apt - libudf0t64 - 2.2.0-4.1~deb13u1: normalized package name match | Debian stable package indexes: libudf0t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library to work with UDF filesystems | https://www.gnu.org/software/libcdio/
- Nix - libcdio: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/libcdio/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libcdio++-dev - 2.1.0-4.1ubuntu1: normalized package name match | Ubuntu 24.04 LTS package indexes: libcdio++-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | C++ library to read and control CD-ROM (development files) | https://www.gnu.org/software/libcdio/
- Ubuntu apt - libcdio++1t64 - 2.1.0-4.1ubuntu1: normalized package name match | Ubuntu 24.04 LTS package indexes: libcdio++1t64 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | C++ library to read and control CD-ROM | https://www.gnu.org/software/libcdio/
- Ubuntu apt - libcdio-dev - 2.1.0-4.1ubuntu1: normalized package name match | Ubuntu 24.04 LTS package indexes: libcdio-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | library to read and control CD-ROM (development files) | https://www.gnu.org/software/libcdio/
- Ubuntu apt - libcdio-utils - 2.1.0-4.1ubuntu1: normalized package name match | Ubuntu 24.04 LTS package indexes: libcdio-utils from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | sample applications based on the CDIO libraries | https://www.gnu.org/software/libcdio/


## 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.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [libcddb](https://www.automicvault.com/pkg/brew/libcddb/) - Popular package that depends on this formula.
- [libcdio-paranoia](https://www.automicvault.com/pkg/brew/libcdio-paranoia/) - Popular package that depends on this formula.
- [qmmp](https://www.automicvault.com/pkg/brew/qmmp/) - Popular package that depends on this formula.
- [vcdimager](https://www.automicvault.com/pkg/brew/vcdimager/) - Popular package that depends on this formula.
- [dvd+rw-tools](https://www.automicvault.com/pkg/brew/dvd-rw-tools/) - Shares av.db curated category or tags: cli, media, optical-disc.
- [dvdrtools](https://www.automicvault.com/pkg/brew/dvdrtools/) - Shares av.db curated category or tags: cli, media, optical-disc.
- [dvd-vr](https://www.automicvault.com/pkg/brew/dvd-vr/) - Shares av.db curated category or tags: cli, media, optical-disc.
- [dvdauthor](https://www.automicvault.com/pkg/brew/dvdauthor/) - Shares av.db curated category or tags: cli, media, optical-disc.
- [dvdbackup](https://www.automicvault.com/pkg/brew/dvdbackup/) - Shares av.db curated category or tags: cli, media, optical-disc.
- [libbluray](https://www.automicvault.com/pkg/brew/libbluray/) - Shares av.db curated category or tags: cli, library, media, optical-disc.
- [a52dec](https://www.automicvault.com/pkg/brew/a52dec/) - Shares av.db curated category or tags: cli, library, media.
- [libheif](https://www.automicvault.com/pkg/brew/libheif/) - Local package facts share a topical domain. Shared terms: cli, info, iso, library, media.
- [cd-discid](https://www.automicvault.com/pkg/brew/cd-discid/) - Local package facts share a topical domain. Shared terms: cli, disc, media, read.

## Combined YAML source

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