LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   apt-get vs apt-cdrom (https://www.linuxquestions.org/questions/linux-general-1/apt-get-vs-apt-cdrom-150386/)

Gurduloo 02-25-2004 12:20 PM

apt-get vs apt-cdrom
 
I'm considering installing Libranet 2.7. This version doesn't come with a lot of software, so I'll have to download a bunch of stuff and install it. As I understand it, the apt-get command requires me to have an internet conncection, which my Linux machine will not have (not for a few months at least). So I want to download packages at work, burn them to CD and take them home. Is this more or less what the apt-cdrom command is for? Apt-get sounds awesome. Is apt-cdrom pretty much the same, but just getting the package from CD rather than the net?

hw-tph 02-25-2004 01:35 PM

apt-cdrom scans CD-ROMs and DVDs for index files which list the packages available in the directory. If an index file is found you can add the CD-ROM to your /etc/apt/sources.list configuration file. Then you can use apt-get to install packages from your CD-ROMs.


Håkan

Gurduloo 02-26-2004 07:14 AM

Ok, so I would only use apt-cdrom to check and see if the CD has packages that can be installed? To do the actual install, I would still be using apt-get?

citrus 02-27-2004 01:00 PM

i think he means you have to have an index file (points to the programs) on your cd along with the prgrams if you want to use it with apt cdrom.
how to make this file, i am not sure

urzumph 02-27-2004 10:40 PM

You won't be able to use apt-get unless you write up a sources list, you may just be better off mounting the CD and using dpkg -i


All times are GMT -5. The time now is 02:06 PM.