1.安装Perl,gcc.
2.如果提示
The path "" is not a valid path to the 3.10.0-229.el7.x86_64 kernel headers.
Would you like to change it? [yes]
运行
yum remove kernal-headers
把原有的kernal-headers卸载掉,需要注意的是yum可能同时会把gcc的部分包也一同卸载掉,这时再次运行
yum install gcc
把缺失的gcc包安装上,接着安装kernel-headers-3.10.0-229.el7.x86_64.rpm和kernel-devel-3.10.0-229.el7.x86_64.rpm
时间: 2024-10-27 05:58:18