LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

Reply
 
LinkBack Search this Thread
Old 02-25-2004, 12:20 PM   #1
Gurduloo
Member
 
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, 01:35 PM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 57
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
 
Old 02-26-2004, 07:14 AM   #3
Gurduloo
Member
 
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, 01:00 PM   #4
citrus
Member
 
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, 10:40 PM   #5
urzumph
Member
 
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
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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


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

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