I’ve previously had issues installing VMware Tools in various versions of Ubuntu server, which pointed me towards using open-vm-tools instead.
I’ve heard the latest version of VMware Tools is indeed compiled properly for Ubuntu but I’ve gotten used to using 3rd party alternatives so I’ve just kept going with open-vm-tools.
Here’s how you install it:
apt-get install --no-install-recommends linux-headers-virtual open-vm-dkms open-vm-tools
The reason for –no-install-recommends is that it’ll pull down the GUI tools for X as well if we just apt-get install open-vm-tools.