授人以鱼不如授人以渔,直接告诉你Codeblocks的官方安装方法。
百度(谷歌)搜索CodeBlocks的官网

点击Wiki
,在右上角的搜索栏输入Ubuntu

选择第一个搜索结果

然后,我们会看到一大堆,我也不知道是什么的操作;不过没关系,我们直接把页面滚动到最下面.
最下面有一个See also
,我选择的是第二个PPA for pasgui
因为它的安装包是最新的.

之后就是Ubuntu玩家熟练的环节了.

sudo add-apt-repository ppa:pasgui/ppa

可能需要在进行
sudo apt-get update
;然后就可以安装
CodeBlocks
了sudo apt-get install codeblocks
当然也可以安装一些插件,有一些调试用的插件,我忘记是哪个了(老男人卖萌.jpg)

网友评论