After a fresh installation of Ubuntu 10.10 I tried to install build-essential
from the Ubuntu installation CD. I put the cd in the cdrom and in the software repositories i checked the box install from cd(Ubuntu 10.10 release Maverick Meerkat).
Then I reloaded the software repositories. The synaptic manager then tried to download some repository related files but failed to do so as i didn't have internet connection. Then I open a terminal and wrote sudo apt-get install build-essential
. It prompted me if I want to install build essential y/N. I typed y but the terminal showed some errors and was not installed. I also tried to add the CD in the software repositories.
I clicked add and it prompted me to insert a CD while the CD was still inside the cdrom. I clicked "ok" then and it showed it could not find any cd. What is wrong?
You cannot install build-essential from the LiveCD disc because it is not on the disc - very few packages/programs are on the disc other than the default desktop (due to limited space on the CD)
If you can't connect to the interest you may like to have a look at How can I install software offline?
If you have no internet connection, remove (deselect) all repositories other than the CD. Perform an update and install again. This should install from the CD rather than the internet, and the only software that will be available will be that on the CD.