I am using Ubuntu 13.10(Saucy). I installed g++-4.7 in my machine. But when I tried to run g++ or tried to check the version it is showing that the package is not installed.
$ g++ --version
The program 'g++' can be found in the following packages:
* g++
* pentium-builder
Try: sudo apt-get install <selected package>
sudo apt-get install g++
or sudo apt-get install g++-4.8
is not successful in my machine because of some broken packages which I couldn't resolve.
Please help me to use g++ with 4.7 version. Thanks in advance.
gcc --version
anyway. It may be available from here as well. – Wilf Dec 15 '13 at 14:22g++
in a terminal obviously you don't have the binary installed. And there's a edit button in each post. What you left me in comments should be in your question, not in a comment. – Braiam Dec 15 '13 at 15:43