最简单的办法,只需三步搞定sudo apt-get install build-essentialsudo add-apt-repository ppa:pasgui/ppasudo apt-get install codeblocks