Vmware installs Fedora9 and uses VmwareTools

Source: Internet
Author: User
Install Fedora9 on vmware6 and there is no Cheaderfiles when installing vmwaretools. WhatisthelocationofthedirectoryofCheaderfilesthatmatchyourrunningkernel? [/Usr/src/linux/include] solution: To solve this problem, you must install

Install Fedora 9 on vmware 6, and then install vmware tools without C header files.

What is the location of the directory of C header files that match your running

Kernel? [/Usr/src/linux/include]

Solution:

To solve this problem, you need to install the development kit that is compatible with the system kernel.

View kernel: uname-r

Kernel header file C header files:

Http://rpmfind.net/linux/rpm2html/search.php? Query = kernel-devel

Note:

When installing vmware tools, if you are prompted that you do not have permissions, you need to use the chmod 777 file name to add permissions, such as prompting that the vmware-install.pl has no permissions, then use the following command:

Chmod 777 vmware-install.pl

Below is my fc9 installation demo, my kernel version is 2.6.25-14. fc9.i686, so select kernel-devel-2.6.25-14.fc9.i686.rpm when wget.

You need to check your kernel version and select the correct Kernel on the above URL.

Important:

After the kernel is installed, use this command to determine the installation directory of the kernel C header.

Ls-d/usr/src/kernels/$ (uname-r) */include

[Root @ localhost ~] # Uname-r

2.6.25-14. fc9.i686

[Root @ localhost ~] # Rpm-q kernel-devel

Package kernel-devel is not installed

[Root @ localhost ~] # Cd/home

[Root @ localhost home] # wget ftp://rpmfind.net/linux/fedora/releases/9/Everything/i386/ OS /Packages/kernel-devel-2.6.25-14.fc9.i686.rpm

[Root @ localhost home] # rpm-I kernel-devel-2.6.25-14.fc9.i686.rpm

[Root @ localhost home] # rpm-q kernel-devel

Kernel-devel-2.6.25-14.fc9.i686
 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.