Linux 安装 Codeblocks - graybull's Blog

Linux 安装 Codeblocks

graybull posted @ 2012年9月10日 19:45 in Unix/Linux with tags linux codeblocks , 4038 阅读

===================== Redhat =========================

1. 添加国内163的源

参考:http://graybull.is-programmer.com/posts/37702.html

yum命令:

yum install <name>  #安装软件
yum search  <name>  #搜索匹配软件

2. 安装gcc(如果没有)

>yum install gcc

>yum install gcc-c++

3.安装wxGTK

$sudo yum list | grep wxGTK

$sudo yum install wxGTK

4.安装codeblocks

下载code::blocks

http://www.codeblocks.org/downloads

解压bz2:

$ tar -xvjf code*.bz2

安装:

$sudo rpm -ivh *.rpm

 

===================== ubuntu =========================

$ sudo apt-get install codeblocks

然后出现:

The following extra packages will be installed:
  codeblocks-common libcodeblocks0 libwxbase2.8-0 libwxgtk2.8-0
Suggested packages:
  libwxgtk2.8-dev wx-common codeblocks-contrib libgnomeprintui2.2-0
The following NEW packages will be installed:
  codeblocks codeblocks-common libcodeblocks0 libwxbase2.8-0 libwxgtk2.8-0
 
自动下载和安装这些依赖包。安装完成后,便可启动codeblocks:
 
$ codeblocks
 
 
Avatar_small
celeb networth 说:
2020年8月11日 22:44

Billie Eilish - the youngest person and second person ever to win the four main Grammy categories, was born in December 18, 2001, find out more about other singer's birthday on celebrity networth


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter
Host by is-Programmer.com | Power by Chito 1.3.3 beta | © 2007 LinuxGem | Design by Matthew "Agent Spork" McGee