Install VMWARE Tools on Ubuntu 6.06

got this from The Abbey Workshop

So after you install Ubuntu 6.06 in a VMWare session, do the following:

1. Get a root shell: sudo bash
2. Update your list package list: apt-get update
3. Upgrade your components: apt-get upgrade

Note: Repeat the previous step as many times as you need to get all the available updates installed.
4. If necessary, do a dist-upgrade: apt-get dist-upgrade
5. Once you have have done all the core updates you can, edit the /etc/apt/sources.list file and uncomment all the application repositories you want to include in your updates. I usually uncomment them all, but that is your call.
6. Repeat steps 2 and 3 until all patches have been applied. Once this is done, you are ready to install the packages VMWare will need.
7. Install build tools: apt-get install build-essential
8. Get version of your kernel: uname -r. You will use the output from this step in the next step.
9. Install the linux headers for your kernel. Issue: apt-get install linux-headers-{output of prev step here}. This will install the linux headers VMWare needs to compile their tools.

That is it. Once you have done all that, you should have all the pieces you need to install the VMWare tools without a hitch.