Important Notice: This post has been updated using a newer, easier method. Read more here.
I’ve had a really hard time trying to find the way to get VMware Tools on Linux virtual machines, but I’ve got it down to just a few steps. If you’re using a ‘big name’ distribution with a graphical interface, it’s not hard to install. But, I like to use Debian or Ubuntu, without X11 (the aforementioned “graphical interface”), so it’s a pain in the butt.
How to install Vmware Tools on Ubuntu without X11:
- Install Ubuntu Server
- Create a root shell:
- Update your sources:
- Upgrade your installed packages (dist-upgrade to force kernel upgrade):
- Create a root shell again:
- Install packages VMware Tools needs:
apt-get install linux-headers-server build-essential
- Install VMware tools
- Mount the VMware Tools CD ISO:
- Copy VMware Tools to home:
cp /cdrom/VmwareTools-x.x.x-xxxxx.tar.gz ~
- Go home:
- Untar/Gzip the install:
tar -zxf VmwareTools-x.x.x-xxxxx.tar.gz
- Go into the resulting directory:
- Start the installer:
- Install will ask you questions, the defaults should work fine.
- Remove the basic AMD PCnet module (if you get errors about building the ethernet driver, run this command and start at step 14 again):
- Rebuild module dependancies:
- Install the VMware accelerated network interface:
- Restart network service: