[root@localhost~]# yum -y install gcc
Loaded plugins: product-id, refresh-packagekit, subscription-manager
Updating Red Hat repositories.
Setting up Install Process
No package gcc available.
Error: Nothing to do
[root@localhost ~]# yum install gcc
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
No package gcc available.
Nothing to do
[root@localhost ~]# yum install gcc
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
No package gcc available.
Nothing to do
[/Quote]
This system is not registered with RHN.
RHN support will be disabled.
出现错误 你得好好看看错误是什么意思呀 晕!
这个错误是因为你用的yum源是RHEL的 而RHEL需要注册付费才可以使用的
你先把yum源换成centos的 然后就可以使用yum来安装了
关于如何换成centos的yum源->http://blog.csdn.net/ztz0223/archive/2008/03/16/2187426.aspx