Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 02-25-2004, 01:20 PM   #1
Registered: May 2003
Location: Northern Virginia
Distribution: Ubuntu, DeLi
Posts: 33

Rep: Reputation: 15
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?
Old 02-25-2004, 02:35 PM   #2
Senior Member
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
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.

Old 02-26-2004, 08:14 AM   #3
Registered: May 2003
Location: Northern Virginia
Distribution: Ubuntu, DeLi
Posts: 33

Original Poster
Rep: Reputation: 15
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?
Old 02-27-2004, 02:00 PM   #4
Registered: Dec 2003
Location: California
Distribution: Kubuntu 6.1
Posts: 548

Rep: Reputation: 30
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
Old 02-27-2004, 11:40 PM   #5
Registered: Jan 2004
Location: Australia
Distribution: Debian
Posts: 168

Rep: Reputation: 30
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
removing CDROM from the apt-get repositories eantoranz Ubuntu 2 06-22-2005 03:38 PM
apt-get update errors since Debian released ( bad /etc/apt/sources.list ?) forgox Debian 10 06-13-2005 01:28 PM
'apt-cdrom add' is not working Saketh Linux - Hardware 2 06-05-2005 02:01 AM
problems with cdrom and apt g-string 3 Linux - General 6 12-10-2004 05:54 AM
apt enabled cdrom epox111 Linux - Software 3 08-10-2003 12:47 AM

All times are GMT -5. The time now is 10:49 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration