g++-Compiler fehlt in Ubuntu 14.04 LTS

g++-Compiler fehlt in Ubuntu 14.04 LTS

Als ich versuchte, ein C++-Programm in Ubuntu 14.04 LTS zu kompilieren, hieß es:

The program g++ is currently not installed but this package is not available 

Ich habe auch nachgeschaut, dass /user/bin/es keine Datei mit dem Namen g++ oder g++-4.8 gibt. Was soll ich tun?

Antwort1

Alles was Sie brauchen ist in derbuild-essentialPaket

sudo apt-get install build-essential

verwandte Informationen