Today I changed my workstation to Debian. As Ubuntu is not nearly stable. Now I installed VMware player. I started it and got a message "Before you can run VMware, several modules must be compiled and and loaded into the running kernel. Kernel headers for version2.6.32-5-amd64 were not found" , below a field were I can give a file location. What should I do now? I never faced such a situation.
1 Answer
In order to compile kernel modules for your running kernel, you need install the kernel headers. The following command should work:
apt-get install linux-headers-$(uname -r) build-essential
-
Thank. but waht means $(uname -r)?ManuelSchneid3r– ManuelSchneid3r2012-11-15 16:50:44 +00:00Commented Nov 15, 2012 at 16:50
-
1@DevNoob type it in as-is. It inserts the output of the
uname -rcommand into the command line arguments.Kevin– Kevin2012-11-15 16:53:56 +00:00Commented Nov 15, 2012 at 16:53 -
@DevNoob you don't have enough rep to vote yet, but you can still mark this as your accepted answer (if you'd like) by clicking the large checkmark under the voting arrows. The FAQ has pictures.derobert– derobert2012-11-15 17:38:01 +00:00Commented Nov 15, 2012 at 17:38
-
1@DevNoob:
$(uname -r)will automatically be replaced by the version of the kernel you're running.bahamat– bahamat2012-11-15 17:59:51 +00:00Commented Nov 15, 2012 at 17:59
linux-header-2.6.32.5-amd64.headerswith a "s". I made the same mistake when I first answered.