rb00012
June 27th, 2012, 06:13 PM
I'm running dual-boot windows 7/ubuntu 12.04 and it's a fresh install (from the standard Ubuntu CD). The computer I'm using also has no network connection so all installs have to be from tar files or similar that I can burn to CD/DVD.
I need to install cmake, which requires gcc, dpkg-dev etc, and I have always done this using
sudo apt-get install build-essentialI've tried adding an installation DVD to my `/etc/apt/sources.list' using
sudo apt-cdrom add which works as expected and the new source shows up (I've also made sure the `cd source' box is ticked in update managers settings). I've then also tried the following before installing from the DVD:
sudo apt-get update
sudo apt-get upgradeHowever it will not work. As expected, I receive errors saying that the (internet based) source repos cannot be contacted, so I've also tried it with these extra repos disabled. The error I then receive is something like (from memory, sorry I can't get the exact text here)
package build-essential is not available, but is referred to by another packageEither it's not reading the DVD repository properly, or build-essential is not on the DVD (I checked the extra packages on the DVD, but couldn't find the build-essential package anywhere). I suppose my questions are
1) Is the build-essential package on the DVD for installation AFTER a CD install?
2) If not, can I get a .tar version with all the dependencies? And why is build-essential not on the DVD any more?
Please try to advise me without resorting to `re-install ubuntu from the DVD'. If I have to re-install from the DVD so be it, but I'd really rather not. Any help is greatly appreciated.
Cheers,
RIch
I need to install cmake, which requires gcc, dpkg-dev etc, and I have always done this using
sudo apt-get install build-essentialI've tried adding an installation DVD to my `/etc/apt/sources.list' using
sudo apt-cdrom add which works as expected and the new source shows up (I've also made sure the `cd source' box is ticked in update managers settings). I've then also tried the following before installing from the DVD:
sudo apt-get update
sudo apt-get upgradeHowever it will not work. As expected, I receive errors saying that the (internet based) source repos cannot be contacted, so I've also tried it with these extra repos disabled. The error I then receive is something like (from memory, sorry I can't get the exact text here)
package build-essential is not available, but is referred to by another packageEither it's not reading the DVD repository properly, or build-essential is not on the DVD (I checked the extra packages on the DVD, but couldn't find the build-essential package anywhere). I suppose my questions are
1) Is the build-essential package on the DVD for installation AFTER a CD install?
2) If not, can I get a .tar version with all the dependencies? And why is build-essential not on the DVD any more?
Please try to advise me without resorting to `re-install ubuntu from the DVD'. If I have to re-install from the DVD so be it, but I'd really rather not. Any help is greatly appreciated.
Cheers,
RIch