I have installed Ubuntu 14.04 LTS. The g++ compiler is missing in it. So, I downloaded g++ 4.8 deb archive. But I am not able to install it. ehn I open the package, ubuntu software center opens up and says dependency is not satisfiable:libstdc++-4.8-dev. please help.
Asked
Active
Viewed 559 times
1 Answers
1
The g++ and gcc 4.8 compilers shoudl already be in 14.04
Try running this command: sudo apt-get install g++-4.8 gcc-4.8 and see if it works. It should then resolve the dependencies.
You may then have to update the alternatives. Run this command afterwards to point everything to the 4.8.x compiler: sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 50 (this information was obtained from here)
Thomas Ward
- 78,878