-   Linux - Newbie (
-   -   Using apt-get without a CD (

scotlin 06-25-2008 07:46 AM

Using apt-get without a CD
I am fairly new to this wonderful world and I am having some issues. When I try to load software Ubuntu keeps insisting that I put the CD into CDROM and then tells me that it cannot read some of the files... Is there any way that I can use the apt-get function without needing the CD?


farslayer 06-25-2008 07:52 AM

Yes edit your sources.list and comment out the entry for the CDROM

Heres the sources list from my Debian box, notice the # (pound sign) in front of the entry for the CDROM.

it-etch:~# cat /etc/apt/sources.list

# deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Beta i386 NETINST Binary-1 20070329-08:46]/ etch contrib main

deb lenny main non-free contrib
deb-src lenny main non-free contrib

deb lenny/updates main contrib non-free
deb-src lenny/updates main contrib non-free

deb lenny main
make sure you update again before trying to install anything..

sudo apt-get update

There's probably a way to do this through the synaptic GUI as well.. but I never use it so I couldn't tell you offhand where it's at.. I'm sure if you take a peek it may be obvious.

scotlin 06-25-2008 09:35 AM

Works great now


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