Codeblocks 安装
2015-12-03 17:09
501 查看
Codeblocks 安装
CodeBlocks 安装方法参考:http://www.centoscn.com/image-text/install/2014/0605/3085.html
CentOS6.5编译安装CodeBlocks13.12
时间:2014-06-05 01:03来源:blog.csdn.net 作者:lzq0101 举报 点击:1963次
在CentOS6.5上安装Codelocks的过程。
1.安装gcc,需要c和c++两部分,默认安装下,CentOS不安装编译器的,在终端输入以下命令即可
yum install gcc
yum install gcc-c++
2.安装gtk2-devel,因为默认已经安装了正式产品需要的支持库,但是没有安装开发所需要的文档.
yum install gtk2*
3. 安装wxGTK,下载地址http://pkgs.repoforge.org/wxGTK/,需要下面两个文件:
wxGTK-devel-2.8.12-1.el6.rf.x86_64.rpm
wxGTK-2.8.12-1.el6.rf.x86_64.rpm
使用rpm命令或者双击安装
4. 安装hunspell
yum install hunspell
yum install hunspell-devel
5. 安装gamin
yum install gamin
yum install gamin-devel
6. 安装gamin
yum install boost
yum install boost-devel
7. 编译并安装Code::Blocks
tar zxvf codeblocks_13.12-1.tar.gz
cd codeblocks-13.12
./configure --prefix=/usr --with-contrib-plugins=all
make
make install
8. 安装好后,在Application下会出现Programming菜单项,在这里可以启动codeblocks
9. 如果出现无法启动的情况,则:
编辑这个: /etc/ld.so.conf
最后添加: /usr/local/lib
然后运行: /sbin/ldconfig
10. 如果不出现调试的命令行窗口,则:
Settings ->
Environment ->
General settings ->
Terminal to launch console programs ->
gnome-terminal --disable-factory -t $TITLE -x
11. 取消系统F10菜单键
安装gconf-editor: yum install gconf-editor
打开gconf-editor: desktop/gnome/interface/menubar_accel清空
相关文章推荐
- Linux socket 初步
- linux lsof详解
- linux 文件权限
- Linux 执行数学运算
- 10 篇对初学者和专家都有用的 Linux 命令教程
- Linux 与 Windows 对UNICODE 的处理方式
- Ubuntu12.04下QQ完美走起啊!走起啊!有木有啊!
- 解決Linux下Android开发真机调试设备不被识别问题
- 运维入门
- 运维提升
- Linux 自检和 SystemTap
- Ubuntu Linux使用体验
- c语言实现hashmap(转载)
- Linux 信号signal处理机制
- linux下mysql添加用户
- Scientific Linux 5.5 图形安装教程
- 基于 Linux 集群环境上 GPFS 的问题诊断
- 谁是桌面王者?Win PK Linux三大镇山之宝
- vivi下重新调整分区