root@ubuntu:~# apt-get install build-essential
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@ubuntu:~#
irongeek 于 2012-09-03 09:27:00发表:
root@ubuntu:~# apt-get install gcc
Reading package lists... Done
Building dependency tree
Reading state information... Done
gcc is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@ubuntu:~#
weienchong 于 2012-11-03 18:12:09发表:
apt-get -i
nil13 于 2012-11-01 15:15:54发表:
多谢各位的讨论,我学到了
yyxiaoxiao 于 2012-11-01 14:59:58发表:
很不错喔 蛮好的
yyxiaoxiao 于 2012-11-01 14:59:43发表:
受益匪浅~bucuo
Marlborors 于 2012-09-14 13:28:38发表:
谢谢分享。。。。任务中。。。。
irongeek 于 2012-09-03 09:28:06发表:
root@ubuntu:~# apt-get install build-essential
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@ubuntu:~#
irongeek 于 2012-09-03 09:27:00发表:
root@ubuntu:~# apt-get install gcc
Reading package lists... Done
Building dependency tree
Reading state information... Done
gcc is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@ubuntu:~#
相思爱文 于 2012-09-02 19:19:09发表:
安装编译环境的命令不是这样的,应该是
aptitude install build-essential
或
apt-get install build-essential
ubuntu中,如不是root身份执行,前面还要加上sudo
h3hlh18 于 2012-09-02 12:02:09发表:
楼上的,你真的用过Ubuntu吗?你能告诉我如何用apt安装gcc吗?
apt-get install gcc(或者后面加版本号)是装不上去的,注意系统是最小化安装。
你也别在后面加一堆的其他包,有时候后面加多少包都装不上去。
irongeek 于 2012-09-02 10:06:52发表:
包管理方面,apt/dpkg是当之无愧的冠军,19年来从未遇到强劲的对手,只有大批的追随者。
golenuort 于 2012-09-02 08:46:20发表:
拿命令在线装,下包来装的就这个麻烦