Linux环境下C/C++开发(1)-安装
本文记录了在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