5
[root@localhost dyliu]# yum list gcc
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * base: centos.mirrors.tds.net
 * extras: centos.mirrors.tds.net
 * rpmforge: apt.sw.be
 * updates: mirror.ubiquityservers.com
Installed Packages
gcc.i686                    4.4.6-3.el6                    @anaconda-CentOS-201112130233.i386/6.2

默认情况下,如果我运行yum install gcc,yum 工具将为我安装 gcc 4.4.6。

Question> 如何在centos 6.2上安装最新的gcc 4.7.0 ?

谢谢

4

0 回答 0