在CentOS上安装kernel-devel的问题

前端之家收集整理的这篇文章主要介绍了在CentOS上安装kernel-devel的问题前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
所以我试图在运行CentOS的VirtualBox Vm中安装Guest Additions.

我收到此错误

The headers for the current running kernel were not found. If the following
module compilation fails then this could be the reason.
The missing package can be probably installed with
yum install kernel-devel-2.6.32-279.5.2.el6.x86_64

当我尝试运行错误中提到的yum install命令时,我得到:

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.ox.ac.uk
 * epel: mirror.nl.leaseweb.net
 * extras: centos.serverspace.co.uk
 * updates: centos.serverspace.co.uk
Setting up Install Process
No package kernel-devel-2.6.32-279.5.2.el6.x86_64 available.
Error: Nothing to do

知道如何解决这个问题吗?

centos发布内核更新的可能性并不大.运行yum install kernel-devel和yum update kernel.然后重新启动到更新的内核.
原文链接:https://www.f2er.com/centos/373425.html

猜你在找的CentOS相关文章