Linux - Yum Install GCC - Missing Kernel-headers

前端 未结 6 615
长发绾君心
长发绾君心 2021-01-31 08:23

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 --

6条回答
  •  迷失自我
    2021-01-31 09:21

    I had the same issue. It seems that I need to install the kernel-devel-xx.rpm (from kernel development package) to my custom kernel:

    sudo yum install kernel-devel-xx.rpm
    

    Then you should be able to run:

    sudo yum install kernel-devel
    

提交回复
热议问题