1. 下载内核
kernel-ml-5.10.48-1.el7.x86_64.rpm
kernel-ml-devel-5.10.48-1.el7.x86_64.rpm
kernel-ml-headers-5.10.48-1.el7.x86_64.rpm
2. 安装
yum localinstall kernel-*
可能出现如下错误提示:
Error: kernel-ml-tools-libs conflicts with kernel-tools-libs-5.4.129-200.el7.x86_64 Error: kernel-ml-headers conflicts with kernel-headers-5.4.129-200.el7.x86_64 Error: kernel-ml-tools conflicts with kernel-tools-5.4.129-200.el7.x86_64 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
解决方法:按照提示添加 --skip-broken,即
yum localinstall kernel-ml-* --skip-broken
参考: