ubuntu install gcc

Enter the command 
sudo apt-get install build-essential

on the console. After the installation is complete, you can execute the
gcc--version

command to view the version. The output is as follows:

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325072308&siteId=291194637