나는 다음을 시도했다.
sudo apt-get install build-essential
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
그러나 내가 컴파일하면 터미널은 다음을 보여줍니다.
g++ hello.cpp -o hello
The program 'g++' can be found in the following packages:
* g++
* pentium-builder
Try: sudo apt-get install <selected package>
어떻게해야합니까?
여전히 같은 결과를 얻습니다