Home > Uncategorized > Installing VMware tools in Linux

Installing VMware tools in Linux

February 7th, 2009

I’ll describe all my vmware-tools installation experiences here. You initiate the vmware-tools installtion by clicking on VM->Install VMware Tools… This will mount a cd-rom to your linux with 2 files:
-VMwareTools-7.8.4-126130.i386.rpm
-VMwareTools-7.8.4-126130.tar.gz

Installing vmware tools in Ubuntu:

1. Extract vmware-tools-distrib from VMwareTools-7.8.4-126130.tar.gz to your desktop or some other location. I just use the graphical archive manager for that.

2. Open shell and go the vmware-tools-distrib folder.

cd ~/Desktop/vmware-tools-distrib

3. Run the install script.

sudo ./vmware-install.pl

Just press [enter] at every question you get.

4. To make vmware-tools start up automatically go to System->Preferences->Sessions->Startup Programs. Click Add, enter vmware-toolbox at name and command and press OK.

In Kubuntu you follow the same steps except for step 4. In Kubuntu you can go to “start-button”->computer->System Settings. There you go to the advanced tab, click Autostart and add vmware-toolbox.

In Xubuntu everthing untill step 4 is also the same. To add vmware-toolbox to startup you can use xfce4-autostart-editor. Just type it in the shell and a little graphical thingy will start.

Click here for more info.

Installing vmware tools in Fedora:

This install description is a little dodgy and needs some work!

Copy VMwareTools-7.8.4-126130.i386.rpm to desktop and install the package with:

sudo rpm -i VMwareTools-7.8.4-126130.i386.rpm

If you don’t use sudo you can ofcourse just open a root shell and execute the above command without the sudo command at the beginning.

You can now try to configure vmware-tools by running:

sudo /usr/bin/vmware-config-tools.pl

Just answer everything with [enter]

If you get error messages when the script tries to use the make command you have to install some stuff first and then run the setup script again.

I used the following commands to install all the nessesary stuff. This worked for me but it could be all wrong in different situations I think.

sudo yum install gcc make kernel-devel gcc-c++
sudo yum install kernel

Reboot.

Check if the kernels match by typing

uname -r
rpm -q kernel-devel

They should match before you can run the vmware setup script.

If they do not match you can try

sudo yum -y upgrade kernel kernel-devel

But i did not have to do this and i do not know it will work out. I just read it somewhere.

If the kernels match, you can run the vmware setup script.

sudo /usr/bin/vmware-config-tools.pl

Just answer everything with [enter].

To make vmware-toolbox autostart I just went to System->Preferences->Personal->Sessions and added vmware-toolbox to the list (/usr/bin/vmware-toolbox)

uninstall vmware package: rpm -e VMwareTools

  1. No comments yet.
  1. No trackbacks yet.