[linux]安装code::blocks

1.安装基本编译环境

$sudo apt-get install build-essential

$sudo apt-get install gdb

2.安装codeblock

$sudo apt-get install codeblocks

$sudo apt-get install codeblocks-dbg

$sudo apt-get install wxformbuilder

($sudo apt-get install contrib,原文作者解释到,这是安装wxSmith,如果不安装就算是使用wxfb。)

或者直接在Ubuntu软件中心里,关键字搜索codeblock就能找到codeblock进行安装。

我是在软件中心安装的,然后又在终端安装了codeblocks-dbg,目前还不知道这个事干什么用的。就先装上了。

3.安装wxWidgets

$sudo apt-get install libwxbase2.8

$sudo apt-get install libwxbase2.8-dev

$sudo apt-get install libwxgtk2.8-0

$sudo apt-get install libwxgtk2.8-dev

$sudo apt-get install libwxgtk2.8-dbg

$sudo apt-get install wx-common

$sudo apt-get install wx2.8-headers

$sudo apt-get install wx2.8-i18n

($sudo apt-get install wx2.8-examples

$sudo apt-get install wx2.8-doc

以上两个为文档,选装)

原文地址:https://www.cnblogs.com/fantasy01/p/4170186.html