LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Using apt-get without a CD (https://www.linuxquestions.org/questions/linux-newbie-8/using-apt-get-without-a-cd-651538/)

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?

Alan

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.
Quote:

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 http://ftp.uwsg.indiana.edu/linux/debian/ lenny main non-free contrib
deb-src http://ftp.uwsg.indiana.edu/linux/debian/ lenny main non-free contrib

deb http://security.debian.org/ lenny/updates main contrib non-free
deb-src http://security.debian.org/ lenny/updates main contrib non-free

deb http://www.debian-multimedia.org 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

Thanks


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