centos安装指定版本的kernel-devel
来源:互联网 发布:美图秀秀淘宝专用版 编辑:程序博客网 时间:2024/05/20 21:24
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
- [Android开发] RxJava2之路一 - 观察者模式
- 2017年2.7
- Android之系统广播
- centos7 安装npm (node.js)
- c++==与c关键字的对比(2)
- centos安装指定版本的kernel-devel
- ubuntu下MTK工具的安装
- POJ 3267 The Cow Lexicon (DP)
- linux下8中进程间通信方式
- mysql data文件夹下的ibdata1 文件作用
- CentOS下查看电脑硬件设备属性命令
- 371. Sum of Two Integers
- Java 编程题
- Java 计算器