# man > apt-cdrom(8)

---
type: CommandReference
command: apt-cdrom
mode: man
section: 8
source: man-pages
---

## Quick Reference
- `apt-cdrom add` — Add a new CD-ROM to the source list
- `apt-cdrom ident` — Show identity of the current disc
- `apt-cdrom add -d /media/cdrom` — Add CD-ROM with a specific mount point
- `apt-cdrom add -m` — Add a CD-ROM without mounting/unmounting
- `apt-cdrom add -f` — Fast copy (skip package verification)
- `apt-cdrom add -n` — Test run without modifying sources.list
- `apt-cdrom add -r` — Rename a disc label
- `apt-cdrom add --no-auto-detect` — Add CD-ROM without auto-detection

## Name
apt-cdrom — APT CD-ROM management utility

## Synopsis
shell
apt-cdrom [options] {add | ident}
**Options:** `-rmfan`, `-d=cdrom_mount_point`, `-o=config_string`, `-c=config_file`, `-h`, `-v`

## Options
- `--no-auto-detect` — Do not try to auto-detect the CD-ROM path. Usually combined with `-d` to specify the mount point manually. Config: `Acquire::cdrom::AutoDetect`.
- `-d, --cdrom=path` — Specify the CD-ROM mount point. Must be listed in `/etc/fstab`. Config: `Acquire::cdrom::mount`.
- `-r, --rename` — Prompt for a new label for the disc. Config: `APT::CDROM::Rename`.
- `-m, --no-mount` — Prevent mounting and unmounting the mount point. Config: `APT::CDROM::NoMount`.
- `-f, --fast` — Assume package files are valid; skip per‑package check. Use only if the disc was previously scanned without errors. Config: `APT::CDROM::Fast`.
- `-a, --thorough` — Thorough package scan; useful for old Debian 1.1/1.2 discs with misplaced Package files.
- `-n, --just-print, --recon, --no-act` — Do not modify `sources.list` or write index files; everything else is still checked. Config: `APT::CDROM::NoAct`.
- `-h, --help` — Show usage summary.
- `-v, --version` — Show program version.
- `-c, --config-file=file` — Specify an additional configuration file. The default config file is read first. See [apt.conf(5)](https://manpages.debian.org/apt.conf.5).
- `-o, --option=key=value` — Set an arbitrary configuration option (e.g., `-o Acquire::cdrom::mount=/mnt`). Can be used multiple times.

## Examples
shell
# Add a CD-ROM interactively
apt-cdrom add

# Add a CD-ROM using a specific mount point
apt-cdrom add -d /media/cdrom

# Add a CD-ROM without mounting (e.g., pre-mounted)
apt-cdrom add -m

# Check what disc is currently in the drive
apt-cdrom ident

# Test-run an add operation without making changes
apt-cdrom add -n
## See Also
- [apt.conf(5)](https://manpages.debian.org/apt.conf.5) — APT configuration file
- [apt-get(8)](https://manpages.debian.org/apt-get.8) — APT package handling utility
- [sources.list(5)](https://manpages.debian.org/sources.list.5) — List of configured APT data sources

## Exit Codes
- `0` — Normal operation
- `100` — Error