Distribute an infrequently updated installation image physically to several devices with optical drives.
Removability and storage matter more than rewrite performance.
Which medium is a representative choice?
Optical media such as CD, DVD, or Blu-ray can be removed, stored, and used to distribute installation images. Capacity and rewrite support depend on the format.
Detailed explanation
yumdownloader --destdir=/tmp/rpms httpdIncorrect. A RAM disk is volatile and cannot serve as a physical distribution medium.
yumdownloader --resolve --destdir=/tmp/rpms httpdCorrect. Optical discs are removable media for image distribution and storage.
yum install --downloadonly /tmp/rpms httpdIncorrect. An internal HDD is not the representative removable read-only distribution medium.
yum deplist --destdir=/tmp/rpms httpdIncorrect. An internal SSD is fast local storage, not the assumed removable medium.
Try it yourself
An example you can run in a temporary verification environment.
yumdownloader --help | grep -E -- '--resolve|--destdir'Expected result
--resolveと--destdirの説明Key points
- Optical storage is removable
- Suitable for distribution and storage
- Formats differ in capacity and rewrite support
Notes
- Environment: yum-utilsのyumdownloader / ヘルプ表示のみ
- Use a disposable system or transaction preview before package changes.
- YUM compatibility layers can expose different subcommands across distributions.
Foundation review
Place the operation
Destination controls where files go; resolve controls which related packages are collected.
Check the side effect
Check disk space and confirm the dependency set for the target platform.