Chinaunix首页 | 论坛 | 博客
  • 博客访问: 265511
  • 博文数量: 113
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 1044
  • 用 户 组: 普通用户
  • 注册时间: 2015-02-15 16:09
文章分类

全部博文(113)

文章存档

2016年(5)

2015年(108)

我的朋友

分类: C/C++

2016-01-28 15:12:29

Installing the GNU C compiler and GNU C++ compiler

To install the gcc and g++ compilers, you will need the build-essential package. This will also install GNU make.

build-essential contains a list of packages which are essential for building Ubuntu packages including gcc compiler, make and other required tools.

点击(此处)折叠或打开

  1. $ sudo apt-get update
  2. $ sudo apt-get upgrade
  3. $ sudo apt-get install build-essential
  4. $ gcc -v
  5. $ make -v

Now, you should able to compile software using C / C++ compilers.

To install the manpages for c and c++ development, install the manpages-dev package.
阅读(1970) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~