wish I had found this four hours ago, but thanks cloud:

Binary Revolution Forums [Powered by Invision Power Board]
The g package is in the repositories. You do not need to get the binary from another resource. If youre having problems with the CD simply remove it as a resource in your sources.list file. Run
sudo gedit /etc/apt/sources.list
and delete the line referring to the Ubuntu CD I cant remember off the top of my head what it says, but it should be obvious which one it is
then run
sudo apt-get update
before installing the packages you want.