linux codeblock中文,Linux下的CodeBlock.pdf

Linux下的CodeBlock

Linux 下的好C 语言编译环境构建

2014 年4 月29 日

7:29

NOTE : The Linux packages above are compressed archives (tar.xz or tar.bz2).

When you decompress the package you downloaded on your system, you will find

all the .rpm or .deb packages required to install Code::Blocks. The packages

named *-dbg-* (or *-debuginfo-*) contain the files needed to debug Code::Blocks

itself, not needed for the most users.

Important note for Ubuntu users: The contrib-plugins package for debian can

not be used on Ubuntu 12.04 and 12.10, due to an incomaptible libhunspell-

package. Alternatively you can use the Ubuntu repo provided by our user pasgui.

Note : On RedHat/CentOS 5 and older revisions of 6 (up to 6.2 as far as I know)

you need to add repoforge (former rpmforge) to your repolist, to be able to

install the needed wxGTK-package. See /use for an

instruction.

Note : Redhat/CentOS 5 also needs an installed hunspell-package, if you want to

install the contrib-plugins. I build the package against hunspell from

, see: /channels/atomic/centos/5EL/.

Other packages (if available) might also work.

Note : There seem to be no recent enough boost-packages available for

RedHat/CentOS 5, so the NassiShneidermann-plugin is not available in the

contrib-plugins for these systems.

来自

一、提前的话

要说C 语言和Linux 的关系大家应该都不会陌生,Linux 系统内核就是用C 语言开发的,

所以所有的Linux 系统下面 都会有C 的编译调试工具,不过这些工具都是命令式的,正式

开发的话会很不方便。Fedora 在安装的时候可以选择安装Fedora Eclipse,这个IDE 很强

大,C,C++,Java,Python 等等都支持,而且编译,调试和测试等功能也很完善。不过一

般太强大的东西都有一个 毛病就是速度会比较慢,在dave 的机器上,打开Eclipse 需要

20 秒之多,选项也太多,用起来眼花缭乱。我们想要一个快速,灵活而不失强大的C 开发

环境。

Code::Blocks 是一款跨平台的C/C++的IDE。支持Windows,Linux,Mac 操作系统,支持

多种编译器,像 Microsoft C,GNU C,Borland C,Intel C 等等,在Windows 下有附带

GNU C 的版本。在Linux 下自然不需要附带,因为系统已经给我们准备好了,那么下面咱

们就安装并体验下这个IDE 吧。

二、安装

Fedora 等支持YUM 的系统可以直接使用YUM 命令来安装,在root 账户下输入以下命令

yum install codeblocks

然后按照提示操作即可。

Ubuntu 等支持apt-get 的系统可以使用apt-get install codeblocks 下载安装,或者从

官网/下载安装,具体步骤不再详述。

三、配置

安装成功之后,主菜单-->编程-->Code::Block

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值