PDA

View Full Version : [ubuntu] G++ installation problems



merrill541
May 1st, 2009, 03:45 AM
Hello everyone.
I have been trying to install g++ on my ubuntu by using sudo apt-get install g++ but whenever I do that I am pretty sure what happens is that the apt command does not see the two plus signs and tries to install or search for packages called g. Any suggestions?

_Purple_
May 1st, 2009, 04:41 AM
What is that output you get when you try to install?

merrill541
May 2nd, 2009, 07:05 PM
Actually somehow it seems to have worked now. I think it was after I did the command sudo apt-get install update or something along those lines and then when I did sudo apt-get install g++ it works now. But before it was saying that it cannot find the package g.

_Purple_
May 2nd, 2009, 07:45 PM
sudo apt-get update
This command updates package information. Glad to know that it worked. :)