I am trying to install a G++ compiler in my ubuntu 9.04 (2.6.28-11). Its real easy that a kid can use synaptico and other GUI to install it in a linux box. But i am trying to install it manually via the terminal.

I have used the "dpkg -i *.deb" command in the directory where the package is located, its giving me some error messages, and when tried to install the same package by double clicking on the package, it gives me an error stating that "Broken Package" Is there any thing else that i can do to install the *.deb package manually in my linux box.

I dont wanna use an online download managers. My box is not hooked into the internet.