# 使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper 安装 libcdio

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install libcdio
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install libcdio
```

  证据: 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
```

  证据: 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
```

  证据: 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
```

  证据: 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
```

  证据: 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
```

  证据: 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
```

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

## 软件包事实

- **软件包键:** brew:libcdio
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/libcdio>
- **版本:** 2.3.0
- **来源摘要:** Compact Disc Input and Control Library
- **主页:** <https://savannah.gnu.org/projects/libcdio/>
- **仓库:** <https://github.com/libcdio/libcdio>
- **上游文档:** <https://github.com/libcdio/libcdio#readme>
- **许可证:** GPL-3.0-or-later
- **源码归档:** <https://github.com/libcdio/libcdio/releases/download/2.3.0/libcdio-2.3.0.tar.gz>
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- cd-drive (cli)
- cd-info (cli)
- cd-read (cli)
- iso-info (cli)
- iso-read (cli)
- mmc-tool (cli)
- cd-drive (别名)
- cd-info (别名)
- cd-read (别名)
- iso-info (别名)
- iso-read (别名)
- mmc-tool (别名)

## 构建依赖

- pkgconf

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 2.3.0
- 本地数据: OK
- 上游仓库: https://github.com/libcdio/libcdio
- 信息: No package-manager update timestamp was available.
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

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.

### 项目历史

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.

### 采用历史

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.

### 使用方式

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.

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

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.

### 时间线

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

### 来源

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


## 安全说明

library-like package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- library-like package without higher-risk signals

## 源数据库详情

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

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

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


## 相关链接

- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Media and graphics packages](https://www.automicvault.com/zh-hans/pkg/media-graphics-tools/) - Matched media, image, audio, video, or graphics metadata.
- [Homebrew utility packages](https://www.automicvault.com/zh-hans/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [pkgconf](https://www.automicvault.com/zh-hans/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [libcddb](https://www.automicvault.com/zh-hans/pkg/brew/libcddb/) - Popular package that depends on this formula.
- [libcdio-paranoia](https://www.automicvault.com/zh-hans/pkg/brew/libcdio-paranoia/) - Popular package that depends on this formula.
- [qmmp](https://www.automicvault.com/zh-hans/pkg/brew/qmmp/) - Popular package that depends on this formula.
- [vcdimager](https://www.automicvault.com/zh-hans/pkg/brew/vcdimager/) - Popular package that depends on this formula.
- [dvd+rw-tools](https://www.automicvault.com/zh-hans/pkg/brew/dvd-rw-tools/) - Shares av.db curated category or tags: cli, media, optical-disc.
- [dvdrtools](https://www.automicvault.com/zh-hans/pkg/brew/dvdrtools/) - Shares av.db curated category or tags: cli, media, optical-disc.
- [dvd-vr](https://www.automicvault.com/zh-hans/pkg/brew/dvd-vr/) - Shares av.db curated category or tags: cli, media, optical-disc.
- [dvdauthor](https://www.automicvault.com/zh-hans/pkg/brew/dvdauthor/) - Shares av.db curated category or tags: cli, media, optical-disc.
- [dvdbackup](https://www.automicvault.com/zh-hans/pkg/brew/dvdbackup/) - Shares av.db curated category or tags: cli, media, optical-disc.
- [libbluray](https://www.automicvault.com/zh-hans/pkg/brew/libbluray/) - Shares av.db curated category or tags: cli, library, media, optical-disc.
- [a52dec](https://www.automicvault.com/zh-hans/pkg/brew/a52dec/) - Shares av.db curated category or tags: cli, library, media.
- [libheif](https://www.automicvault.com/zh-hans/pkg/brew/libheif/) - Local package facts share a topical domain. Shared terms: cli, info, iso, library, media.
- [cd-discid](https://www.automicvault.com/zh-hans/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)


## 来源

- 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
