This guide is for installing VMware Player or Workstation on Kali Linux. Although this is a simple task, I faced an issue with the kernel headers when launching VMware Player, hence this blog post.
I did these steps with VMware Player but same steps can be followed for Workstation.
1. First of all, download the VMware Player from https://my.vmware.com/web/vmware/free#desktop_end_user_computing/vmware_player/5_0
2. Make the downloaded file executable by navigating to the directory where you downloaded the bundle and execute:
chmod +x VMware-Player-5.0.1-894247.x86_64.bundle
3. Open Terminal and install the packages needed by VMware Player
4.After packages are installed, start the VMware Player installer
I did these steps with VMware Player but same steps can be followed for Workstation.
1. First of all, download the VMware Player from https://my.vmware.com/web/vmware/free#desktop_end_user_computing/vmware_player/5_0
2. Make the downloaded file executable by navigating to the directory where you downloaded the bundle and execute:
chmod +x VMware-Player-5.0.1-894247.x86_64.bundle
3. Open Terminal and install the packages needed by VMware Player
apt-get install build-essential linux-headers-`uname -r`
This will install the kernel headers of your current Linux kernel version.4.After packages are installed, start the VMware Player installer
./VMware-Player-5.0.1-894247.x86_64.bundle
This is pretty much it.
5.Launch the VMware Player by navigating to it from the main menu.
At this stage, I got an error saying that "Kernel headers for kernel version 3.7-trunk-amd64 could not be found."
That was strange, because I had the kernel headers for this version already installed.
After a little looking around, I found the solution.
To solve this issue, do the following steps:
After a little looking around, I found the solution.
To solve this issue, do the following steps:
cd /lib/modules/$(uname -r)/build/include/linux
sudo ln -s ../generated/utsrelease.h
sudo ln -s ../generated/autoconf.h
sudo ln -s ../generated/uapi/linux/version.h
Hopefully someone will find this solution useful.
Very useful! I solve my issue :)
ReplyDeleteThanx for sharing!
Andrea
Great! This really works! Thanks so much
ReplyDeleteHey guys if you end up getting an an error with not finding the header you are going to need to add this to your repository. I got this from here:
ReplyDeletehttps://forums.kali.org/showthread.php?5804-Kernel-headers-problem
Thanks for the post it was a great help.
ReplyDeleteI received an error in processing step 3 (the apt-get command) but found this substitute worked well and allowed the install to complete without error and the program ran successfully on first try.
apt-get install build-essential linux-headers-$(uname -r)
Thanks a lot. That line worked for me :)
DeleteThanks.
DeleteThat line worked for me:)
Cheers
This comment has been removed by the author.
ReplyDeleteI've written a more in depth tutorial that includes a video. It can be found here: How to install Kali Linux onto VMware Player
ReplyDeletegreat mate thank you very much
ReplyDeleteThank you so much dude...
ReplyDeleteNice tutorial..
ReplyDeleteyou can visit us :
http://suranka.com/training-courses/cloud-computing-training/vmware-training-in-chennai/
Hi,
ReplyDeleteI ´ve used Kali 1.1.0a and workstation 10 and all I´ve to do was:
chmod +x VMware-....
apt-get install build-essential linux-headers-`uname -r`
apt-get install open-vm-tools open-vm-tools-dev open-vm-dkms open-vm-toolbox
and then start the bundle from the Desktop.
works like a charme...
its not working plz help me
ReplyDeleteroot@kali:/lib/modules/3.18.0-kali3-amd64# cd /lib/modules/$(uname -r)/build/include/linux
bash: cd: /lib/modules/3.18.0-kali3-amd64/build/include/linux: No such file or directory
Step by step tutorial shows you how to install the latest VMware Workstation 11 on Kali Linux 2 Sana.
ReplyDeletehttp://www.sysadminshowto.com/how-to-install-vmware-workstation-11-on-kali-linux-2-sana/
THANK YOU MAN :D
ReplyDeleteDear community! If you want to know how to install Kali Linux 2 in VMware Workstation, you can watch this video tutorial!
ReplyDeletehttps://youtu.be/BeZNpHVdHwE
I think there is a bit of confusion regarding the subject matter. This is about installing VMware on Kali Linux, NOT installing Kali Linux on VMware (there are TONS of resources out there on that subject matter). The end result of getting VMware on your Kali Linux box would be to allow for another OS to exist simultaneously with Kali, or to build a hacking lab on one machine; of course this is an assumption based on limited experience in the subject matter. Nonetheless, thank you for this information, there is a need for it in the community!
ReplyDeletehi i have a different problem every thing is installed but the vm tool and vmawre wokstation are both not opening
ReplyDelete