Sunday, September 1, 2013

VMTools on Fedora19

So. You decided that you'd rather use VMware's VMTools package on your Fedora19 VMs than the open-vm-tools package that's installed by default? No worries. Here's how to load VMTools on Fedora19.

Overview
  1. Remove open-vm-tools
  2. Install Perl
  3. Mount the VMTools ISO
  4. Install VMTools
Remove open-vm-tools

To get rid of open-vm-tools, open Terminal and enter the following command:

sudo yum remove open-vm-tools

This will locate the open-vm-tools packages and prompt you to confirm their removal.

If the account you're using isn't in sudoers, you'll need to become root before removing the packages:

su -
yum remove open-vm-tools

Now open-vm-tools is gone from your Fedora19 system.

Install Perl

Since the VMTools installer is a Perl script, you'll need to have Perl loaded on your VM to install VMTools. Easy. In your Terminal, enter the following

sudo yum install perl

YUM will find the packages needed to install Perl, and prompt you to confirm the installation.

Again, if you're not in sudoers, you'll need to do this:

su -
yum install perl

Once YUM has finished installing Perl, you're read to go on.

Mount the VMTools ISO

Just to clarify: when you choose to Install / Upgrade VMTools on a VM from the vSphere Web Client (or even that old and busted vSphere Client), you're actually mounting an ISO to the VM. The ISO contains the packages to install the tools.

Once you've started the Tools install from the client, go to your Fedora19 VM and open the ISO with Files. Select the VMTools package, and Extract it to /tmp. You'll now have a directory named /tmp/vmware-toold-distrib.

Install VMTools

Finally, go back to your Terminal window, change to the /tmp/vmwre-tools-distrib directory, and enter the following command:

sudo ./vmware-install.pl

As usual, unless you've got a good reason to choose otherwise, you can accept the defaults during installation. Once you're done, VMTools will be running and current. Just log out and back in (or restart) to enable the graphics-related features in VMTools. 
Mastodon