The 'apt-cdrom add' command in Debian is used to add a CD-ROM to the list of available package sources. This allows you to install packages directly from the CD-ROM without needing an internet connection.

To use the 'apt-cdrom add' command, you need to have a CD-ROM inserted in your computer's CD-ROM drive. Then, open a terminal and run the following command with root privileges:

sudo apt-cdrom add

This will scan the CD-ROM for available packages and add it to the list of package sources in '/etc/apt/sources.list'. After running this command, you can use 'apt-get' or 'apt' to install packages from the CD-ROM.


原文地址: https://www.cveoy.top/t/topic/pOHy 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录