Install VMware Tools – Debian Lenny
Quick tip for anyone running Debian Lenny under VMware. As the tools were open sourced you can now find an implementation in your apt tree. Although personally i haven’t seen a quick and easy guide floating around.
Run the fowling as root
1 2 3 4 | apt-get update apt-get install open-vm-source module-assistant prepare open-vm module-assistant auto-install open-vm |

April 15th, 2009 at 8:57 am #K. Vick
Very helpful. Thanks!
September 6th, 2009 at 3:17 pm #Greg
Make sure you have contrib & non-free in sources.list. it errors without those.
September 26th, 2009 at 5:32 am #Mike
This was very helpful, but I needed to first install a new kernel. Here is what I did:
vi /etc/apt/sources.list
Add “contrib non-free” to the end of the uncommented lines (after the word “main”). If either of the words are already there, don’t add them again.
apt-get update
apt-get install linux-headers-2.6.26-2-686 (not sure if needed)
apt-get upgrade kernel (not sure if needed) (Choose keyboard from full list when asked). (This did not upgrade my kernel, so I had to do the next line).
apt-get install linux-image-2.6.26-2-686
reboot
apt-get install open-vm-source (This takes awhile. Just “Ok” any popups)
apt-get install module-assistant
module-assistant prepare open-vm
module-assistant auto-install open-vm
I am a newbie to this so I probably didn’t do it the best way, but hopefully this will help someone.
February 12th, 2010 at 3:30 pm #Scott
You will need to add contrib i know, not sure if you need non-free though.
moulde-assistant prepare open-vm should get the headers and build tools you need