打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
Linux - Yum Install GCC - Missing Kernel-headers
 

When ever i try to install GCC on my linux (centos) It comes back with missing

glibc-headers-2.5-58.el5_6.4.x86_64 from updates has depsolving problems --> Missing Dependency: kernel-headers is needed by package glibc-headers-2.5- 58.el5_6.4.x86_64 (updates) glibc-headers-2.5-58.el5_6.4.x86_64 from updates has depsolving problems -->

Missing Dependency: kernel-headers >= 2.2.1 is needed by package glibc-headers-2.5- 58.el5_6.4.x86_64 (updates)

Error: Missing Dependency: kernel-headers >= 2.2.1 is needed by package glibc-headers-2.5-58.el5_6.4.x86_64 (updates)

Error: Missing Dependency: kernel-headers is needed by package glibc-headers-2.5-58.el5_6.4.x86_64 (updates)


I try yum install kernel-header & kernel-devel but get back:

No package kernel-headers available.

 

 
 
 
 

Your system is probably configured to exclude the kernel packages.

try:

sudo vi /etc/yum.conf 

then comment (or remove the 'kernel*' part):

#exclude=kernel* 

Then you should be able to do:

sudo yum install kernel-headers 
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
centos 5.5下安装vmware tools
configure: error: no acceptable C compiler found in $PATH 问题解决
如何处理错误消息Please install the gcc make perl packages from your distribution
How to Build a GCC Cross
CentOS命令行安装VMware tools
vmware workstation 14.1.3 里虚拟centos7,命令行 安装tools 遇到的一些问题
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服