CENTOS 7 安装 CODEBLOCKS

CODEBLOCKS 作为一种跨平台开发IDE,有着其不可替代的优势。

安装步骤:

一.安装依赖包

yum install gcc
yum install gcc-c++

yum install gtk2*

yum install subversion -y

yum install libtool -y

yum install hunspell -y

yum install hunspell-devel -y

yum install gamin gamin-devel -y

yum install boost boost-devel -y

二.安装wxGTK

从下载地址:http://www.wxwidgets.org/downloads/ 找到压缩包

用wget 命令:

如:wget  http://www.wxwidgets.org/downloads/wxWidgets-3.0.1.tar.bz2

提取压缩包文件进入目录,执行:

./configure –prefix=/usr –enable-xrc –enable-monolithic –enable-unicode
make
make install

三.安装codeblocks,下载codeblocks安装包,下载地址:http://www.codeblocks.org/downloads/

找到source包, 用第二步 wget 下载或者浏览器下载后解压(非RPM格式)

执行安装命令:

./configure –prefix=/usr –with-contrib-plugins=all

make

make install

四.安装XTREM

yum install xterm

五.然后你就可以回到那熟悉的界面了

 

发表评论

Your email address will not be published.