刚刚安装了Debian 6.0,想写个hello world来测试一下,没有想到竟然没有gcc. 所以要安装gcc,很简单,方法如下:以root身份输入:apt-get install build-essential就可以了。 转载于:https://blog.51cto.com/helloxiaoben/925342