# 使用 Homebrew, apk, dnf, MacPorts, Nix, pacman, apt, 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

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

- 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

- zypper (92%):

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

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

## 软件包事实

- **软件包键:** brew:libcdio
- **软件包管理器:** Homebrew
- **版本:** 2.3.0
- **来源摘要:** Compact Disc Input and Control Library
- **主页:** <https://savannah.gnu.org/projects/libcdio/>
- **仓库:** <https://github.com/libcdio/libcdio>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

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

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

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

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

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


## Combined YAML source

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