刚刚安装了Debian 6.0,想写个hello world来测试一下,没有想到竟然没有gcc.
所以要安装gcc,很简单,方法如下:

以root身份输入:apt-get install build-essential
就可以了。