If you install Ubuntu from a cd-rom, when you try to use apt-get to install new software it will prompt you for the cdrom every time. Kinda frustrating!
There’s an easy way to fix this problem. Run the following command to open the sources.list file. You can use a different editor if you feel like.
sudo vi /etc/apt/sources.list
The first thing you’ll want to do is comment out this line, by placing a # symbol before it.
deb cdrom:[Ubuntu-Server 6.10 _Ed…..
You can also use this opportunity to uncomment the universe repositories.
Now that you’ve updated the repository list, you will have to run this command to update the local list of available software:
sudo apt-get update
Now you can apt-get install from the internet.
Programmer by day, geek by night, The Geek, also known as Lowell Heddings, spends all his free time bringing you fresh geekery on a daily basis. You can follow him on Google+ if you'd like.
- Published 12/13/06