1、sudo apt-get install build-essential 2、先打开终端快捷键ctrl+t 3、sudo apt-get install cmake qt5-default qtcreator