Installing VMware Tools on a Debian 6 Linux Virtual Machine

Want to help support this blog? Try out Oh Dear, the best all-in-one monitoring tool for your entire website, co-founded by me (the guy that wrote this blogpost). Start with a 10-day trial, no strings attached.

We offer uptime monitoring, SSL checks, broken links checking, performance & cronjob monitoring, branded status pages & so much more. Try us out today!

Profile image of Mattias Geniar

Mattias Geniar, February 26, 2012

Follow me on Twitter as @mattiasgeniar

Should be simple, but if often fails and that’s the cause of a faulty gcc being used in the installation. So, a quick-n-dirty fix on how to install VMware Tools on Debian 6.

# cat /etc/issue
Debian GNU/Linux 6.0 \n \l

Only do this if you’re running Debian 6, of course.

# apt-get install gcc make
# apt-get install linux-headers-$(uname -r)

You need a specific version of gcc (4.1 or 4.3) to complete this. Next, mount your VMware Tools installation source via Right click on the VM > Guest > Install/Upgrade VMware Tools. Mount the installation media in your VM and run the installer.

# mkdir /mnt/cdrom
# mount /dev/cdrom1 /mnt/cdrom/
# cd /usr/local/src/
# cp /mnt/cdrom/VMwareTools-8.3.12-493255.tar.gz ./
# umount /mnt/cdrom
# cd vmware-tools-distrib/
# ./vmware-install.pl

Afterwards, answer yes to all questions prompted, and your install should be ready to go.



Want to subscribe to the cron.weekly newsletter?

I write a weekly-ish newsletter on Linux, open source & webdevelopment called cron.weekly.

It features the latest news, guides & tutorials and new open source projects. You can sign up via email below.

No spam. Just some good, practical Linux & open source content.