高分求 gcc rpm 包 下载地址

unhappyless 2010-04-07 08:09:09
装了 redhat ,软件包是全部安装的,竟然没 gcc

求下载地址,gcc 安装成功后给全分
...全文
3061 12 打赏 收藏 转发到动态 举报
写回复
用AI写文章
12 条回复
切换为时间正序
请发表友善的回复…
发表回复
DyanWang 2012-03-06
  • 打赏
  • 举报
回复
[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


请问一下这又是什么错误啊
zheming5d 2011-08-09
  • 打赏
  • 举报
回复
顶,,好东西 啊 !
kaifaye 2010-04-08
  • 打赏
  • 举报
回复
是啊,按2楼说的,基本就装齐了,yum多好!
天亮后说晚安 2010-04-08
  • 打赏
  • 举报
回复
download
unhappyless 2010-04-08
  • 打赏
  • 举报
回复
[Quote=引用 1 楼 steptodream 的回复:]
照这个blog来就没问题了 需要下的包有点多http://blog.chinaunix.net/u2/77672/showart_1151481.html

为什么不用yum -y install gcc来安装呢?
[/Quote]

在虚拟机安装的,方式是桥接,用代理上网,能浏览网页,能下载
那个命令不管用

[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
wolf_london 2010-04-08
  • 打赏
  • 举报
回复
顶熊猫
steptodream 2010-04-08
  • 打赏
  • 举报
回复
[Quote=引用 7 楼 unhappyless 的回复:]

[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

另外我一楼给的blog里讲了那些rpm包的下载地址的
unhappyless 2010-04-08
  • 打赏
  • 举报
回复
就是下载不到才高分求


顺便问下,你们red hat 是什么版本的,是不是我的太久了导致的

CheryStrive 2010-04-07
  • 打赏
  • 举报
回复
是啊,为什么不用yum -y install gcc来安装呢?
freetstar 2010-04-07
  • 打赏
  • 举报
回复
yum -y install gcc
直接搞定阿 。。。不知道lz想怎么弄
steptodream 2010-04-07
  • 打赏
  • 举报
回复
另外如果要编译C++的话 还要安装g++
gcc-c++-x.x.x.i386.rpm
libstdc++-devel-x.x.x-8.i386.rpm
libstdc++-x.x.x.i386.rpm


如果你yum可用的话 一句就搞定
yum -y install gcc-c++ libstdc++-devel
steptodream 2010-04-07
  • 打赏
  • 举报
回复
照这个blog来就没问题了 需要下的包有点多http://blog.chinaunix.net/u2/77672/showart_1151481.html

为什么不用yum -y install gcc来安装呢?

23,114

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 应用程序开发区
社区管理员
  • 应用程序开发区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧