1.安装eclipse 命令行安装:sudo apt-get install eclipse 2.安装C++支持插件 命令行安装:sudo apt-get install eclipse-cdt 新建工程效果图: