How to install Linux VMware Tools in VMware Fusion 8

How to install Linux VMware Tools in VMware Fusion 8 - Logo

I recently needed Linux Virtual Machine to manage one of the environments and I simply downloaded Linux distribution from Internet. My choice was Linux Mint 17.2 Rafaela. I like this specific distribution, because it looks nice and As you might suspect it was installed as Virtual Machine on my laptop. As I am using Mac OS X I had to use VMware Fusion.

Solution

I am using Mac OS X Yosemite with VMware Fusion 8 Professional. After I installed base operating system I wanted to install VMware Tools to use all features of operating system.

When I clicked on Virtual Machine - Install VMware Tools I immediately got error.

How to install Linux VMware Tools in VMware Fusion 8 - 1

VMware Tools installation in Linux

In case your Linux distribution isn't supported out of the box in VMware Fusion I will show you how to install VMware Tools anyway.

Find VMware Tools in Mac OS X

In order to find VMware Tools we can simply search for them in Terminal.

Authenticate as root in Terminal and use command below to find all files with .iso extension.

root# find / -name *.iso

As output you will see all iso files in your laptop.

How to install Linux VMware Tools in VMware Fusion 8 - 2

Now what we need to do is to copy linux.iso to location on your laptop.

Simply use command below to copy it to your user Desktop.

cp /Applications/VMware\ Fusion.app//Contents/Library/isoimages/linux.iso /Users/USERNAME/Desktop/

Once you got it on Desktop you can simply mount ISO image to Linux Virtual Machine.

In VMware Fusion click on your Virtual Machine move to CD/DVD and select Choose Disc or Disk Image.

How to install Linux VMware Tools in VMware Fusion 8 - 3

Select ISO we just copied.

How to install Linux VMware Tools in VMware Fusion 8 - 4

Next step is to click Connect CD/DVD and ISO will be mounted in Virtual Machine.

How to install Linux VMware Tools in VMware Fusion 8 - 5

We need to copy VMwareTools tar.gz file to /tmp location where we will extract it and start installer.

Execute following command to copy it to /tmp location.

cp /media/wojcieh/VMware\ Tools/VMwareTools-10.0.0-2977863.tar.gz /tmp/

Once we copied VMware Tools we need to extract them. Switch to /tmp folder. In order to do extract execute command below.

tar -zxvf VMwareTools-10.0.0-2977863.tar.gz

When command is finished simply enter vmware-tools-distrib directory.

In order to start VMware Tool installer use this command.

./vmware-install.pl

We will be asked if we want to proceed with installer - type yes.

How to install Linux VMware Tools in VMware Fusion 8 - 6

Choose directory to install VMware Tools - I always go with defaults. Simply click Enter for all questions.

How to install Linux VMware Tools in VMware Fusion 8 - 7

In the next question answer yes by pressing enter to create necessary directories.

How to install Linux VMware Tools in VMware Fusion 8 - 8

Go with defaults and answer yes at the end.

How to install Linux VMware Tools in VMware Fusion 8 - 9

Once more we are asked if we want to run initial pre-cofniguration scripts. Answer yes.

How to install Linux VMware Tools in VMware Fusion 8 - 10

If you want you can enable Host-Guest folder sharing - it is totally up to you. I use this feature quite often so I selected yes.

How to install Linux VMware Tools in VMware Fusion 8 - 11

We are asked for valid gcc path - installer detected it correctly so no need to change anything here.

How to install Linux VMware Tools in VMware Fusion 8 - 12

Same for kernel modules - just click enter.

How to install Linux VMware Tools in VMware Fusion 8 - 13

We can as well select if we want to use dragging and copying files between host and virtual machine.

How to install Linux VMware Tools in VMware Fusion 8 - 14

I skipped enabling VMware automatic kernel modules and thinprint.

How to install Linux VMware Tools in VMware Fusion 8 - 15

Once again we go with defaults and click yes.

How to install Linux VMware Tools in VMware Fusion 8 - 16

After short while VMware Tools for Linux are installed. We just need to start them.

How to install Linux VMware Tools in VMware Fusion 8 - 17

You can start VMware Tools by logging off, restarting X session or manually executing by typing in shell /usr/bin/vmware-user.