Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

kernel headers where

Ask for help with issues regarding the Installations of the Debian O/S.
Post Reply
Message
Author
dvp1964
Posts: 3
Joined: 2015-02-17 14:29

kernel headers where

#1 Post by dvp1964 »

Running Debian stable and trying to install vmware.

I have googled this and found hundreds of others also asking (so I didn't feel so bad) and just as many and varied answers which after the first 5, I gave that up and turned here for help.

The question(s):
What is the path to the kernel headers so I can install vmware?

And while I have your attention, where would the C Header Files be found?



thank you!


User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: kernel headers where

#3 Post by GarryRicketson »

by dvp1964 »and just as many and varied answers which after the first 5, I gave that up and turned here for help.
Really, you shouldn't just "give up" so easy,.... you will probably get many
varied answers here as well, the thing of it is there are many various answers,
Much would depend on your system , and how you have things setup, .....
So what you need to do, is actually try some of the solutions, and let us
know which ones do not work,....here is 1 of many solutions,... I do not
know that it would work for you or not, you would just have to try it.
from: https://www.thomas-krenn.com/en/wiki/In ... der_Debian Searching for a valid kernel header path...
Detected the kernel headers at

Code: Select all

"/lib/modules/2.6.32-5-amd64/build/include"
.
The path

Code: Select all

"/lib/modules/2.6.32-5-amd64/build/include"
appears to be a valid path
to the 2.6.32-5-amd64 kernel headers.
Would you like to change it? [no] or [yes]
Many more solutions,...
On a Debian system What is the path to the kernel headers so I can install vmware?



There is also this:
install vmware on Debian ?
Let us know what you actually try, use code boxes to post the "code" or "script",
also be sure to include any error messages, if it does not work, these are very important, because that will help someone maybe be able to expalin why it did
not work.
If you are not sure, and have some script or code, but not sure if it is safe, etc,...
of course post it here,FIRST, before actually trying it, be sure to use the "code boxes"

Code: Select all

 [code]script 
or code goes here 
[/code]
dvp1964 > where would the C Header Files be found?
This is not clear, What C header files ? or which ones, ? Do you mean
the ones in the Vmware ? Specify that and make the question more accurate
and clear, you might even get some accurate results when you do a search.
You could try , at the prompt :

Code: Select all

 locate c header | less 
You will see it is a very long list,...if you specify which 'c header" files,
you can narrow it down,..
also see :

Code: Select all

man locate

Code: Select all

 man find 
What commands are available to locate files and paths on Linux

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: kernel headers where

#4 Post by stevepusser »

Simple recipe to make sure you get the kernel module build environment installed (basically what you're asking with those two questions):

install module-assistant

in a terminal as root, run

Code: Select all

m-a prepare
I'm surprised none of those hundreds of search results suggested that.
MX Linux packager and developer

Post Reply