centos安装指定版本的kernel-devel
来源:互联网 发布:删除表数据的sql语句 编辑:程序博客网 时间:2024/05/20 22:01
Question:
I am attempting to install the VMWare player in Fedora 19. I am running into the problem that multiple users have had where VMware player cannot find the kernel headers. I have installed the kernel-headersand kernel-develpackages through yumand the file that appears in /usr/src/kernelsis:
3.12.8- 200.fc19.x86_64
However, when I do uname -rmy Fedora kernel version is:
3.9.5- 301.fc19.x86_64
which is a different version. This seems to mean that when I point VMware player at the path of the kernels I get this error:
C header files matching your running kernel were not found.
Refer to your distribution
's documentation for installation instructions.
How can I install the correct Kernel and where should I be pointing VMware if its not /usr/src/kernels/ ?
Answer:
You can install the correct kernel header files like so:
$ sudo yum install "kernel-devel-uname-r ==$(uname -r)"
Example
This command will always install the right version.
$ sudo yum install "kernel-devel-uname-r == $(uname -r)"
Loaded plugins: auto-update-debuginfo, changelog, langpacks, refresh-packagekit
No package kernel-devel-uname-r == 3.12.6- 200.fc19.x86_64 available.
Error: Nothing to
do
Or you can search for them like this:
$ yum search "kernel-headers-uname-r == $(uname -r)"--disableexcludes=all
Loaded plugins: auto-update-debuginfo, changelog, langpacks, refresh-packagekit
Warning: No matches found for: kernel-headers-uname-r == 3.12.6- 200.fc19.x86_64
No matches found
However I’ve notice this issue as well where specific versions of headers are not present in the repositories. You might have to reach into Koji to find a particular version of a build.
- Information for build kernel-3.12.6-200.fc19
That page includes all the assets for that particular version of the Kernel.
Via: http://unix.stackexchange.com/questions/110682/yum-installs-kernel-devel-different-from-my-kernel-version
- centos安装指定版本的kernel-devel
- centos安装指定版本的kernel-devel
- yum 安装对应内核版本的kernel-devel
- CentOS 7中安装指定的Kernel版本
- 安装kernel-devel
- linux 安装 kernel-devel
- centos系统中kernel-devel的简单介绍
- yum下载对应内核版本的kernel-devel
- centos安装openssl-devel
- centos安装libacl-devel
- centos安装python-devel
- Fedora 9 安装vmware tools无kernel-devel的问题
- kernel-devel
- 关于kernel-devel、kernel-header和kernel src的区别
- 安装Devel::Cover 使用指定perl编译
- CentOS,yum,指定php,mysql,版本安装
- Centos下Docker安装指定版本
- Centos之php安装指定版本-yellowcong
- eclipse 启动报错has value '1.7', but '1.8' is required
- C++对象的创建与使用
- 集群与分布式的关系
- 动态规划
- 1051. Pop Sequence (25)
- centos安装指定版本的kernel-devel
- 解读神经网络十大误解,再也不会弄错它的工作原理
- angularJS的疑难杂症一 ng-repeat的坑
- insmod: error inserting './scull.ko': -1 Unknown symbol in modul
- Android-使用LitePal实现一个便笺功能
- 我的科研生活2017-2-7
- Eclipse一直building workspace问题解决归纳
- oracle学习笔记-1
- python 静态函数 类函数 实例函数