本文记录了在Ubuntu 16.04 桌面环境下,采用Code::Blocks IDE工具开发C/C++程序的全部过程。

一、基于环境配置(用于安装最新的Codeblocks)

sudo add-apt-repository ppa:pasgui/ppa
sudo apt-get update

参考:https://launchpad.net/~pasgui/+archive/ubuntu/ppa

二、安装过程

1.安装编译器。

sudo apt-get install build-essential

2.安装调试器。

sudo apt-get install gdb

3.安装codeblocks

sudo apt-get install codeblocks

发表评论

邮箱地址不会被公开。 必填项已用*标注