Managing Debian Software with APT (apt-get etc) |
Prev |
Home |
Next |
2.4 Adding a CD-ROM to the sources.list file
If you'd rather use your CD-ROM for installing packages or updating your system
automatically with APT, you can put it in your sources.list. To
do so, you can use the apt-cdrom
program like this:
# apt-cdrom add
with the Debian CD-ROM in the drive. It will mount the CD-ROM, and if it's a
valid Debian CD it will look for package information on the disk. If your
CD-ROM configuration is a little unusual, you can also use the following
options:
-h - program help
-d directory - CD-ROM mount point
-r - Rename a recognized CD-ROM
-m - No mounting
-f - Fast mode, don't check package files
-a - Thorough scan mode
For example:
# apt-cdrom -d /home/kov/mycdrom add
You can also identify a CD-ROM, without adding it to your list:
# apt-cdrom ident
Note that this program only works if your CD-ROM is properly configured in your
system's /etc/fstab.
Managing Debian Software with APT (apt-get etc) |
Prev |
Home |
Next |