debian apt-cdrom add
The "apt-cdrom add" command is used to add a CD-ROM to the list of software repositories managed by the apt package manager on a Debian system.
To use this command, you need to have the CD-ROM inserted into the CD/DVD drive of your Debian system.
Here are the steps to use "apt-cdrom add":
-
Open a terminal on your Debian system.
-
Insert the CD-ROM into the CD/DVD drive.
-
Run the following command with root privileges:
sudo apt-cdrom add -
The command will scan the CD-ROM and add it to the list of repositories. If prompted, press Enter to continue.
-
Once the CD-ROM has been added, you can use the "apt-get" or "apt" commands to install software from the CD-ROM.
Note: If you have multiple CD-ROMs, you can repeat the above steps for each CD-ROM to add them to the repository list
原文地址: https://www.cveoy.top/t/topic/h5OH 著作权归作者所有。请勿转载和采集!