1.连接外网 2输入以下命令: sudo apt install build-essential 详情见(https://blog.csdn.net/qlexcel/article/details/120649645)