To use the compiler to install VMware Tools in a Linux guest operating system, do the following:
- Make sure that the Linux virtual machine is powered on.
- If you are running the GUI interface, open the command shell.
Note : Log in as root, or use the sudo command to complete each of the following steps.
- In the Virtual Machine menu, click Virtual Machine , and then click Client > Install/upgrade VMware Tools.
- Click OK .
Note : In some cases, check the virtual machine editing settings option in the CDROM device status must be connected .
- To create a mount point, run the following command:
Mkdir/mnt/cdrom
- To load CDROM, run the following command:
Mount/dev/cdrom/mnt/cdrom
- To copy the compiler gzip tar file to a temporary local directory, run the following command:
cp/mnt/cdrom/vmwaretools-version. tar.gz/tmp/
Where version is the release of the VMware Tools software package.
- To determine the version of VMware Tools, run the following command:
Ls/mnt/cdrom
You will see output similar to the following:
# vmwaretools-5.0.0-12124.tar.gz
- To change the directory to TMP and unzip the contents of the tar file into a new directory named Vmware-tools-distrib, run the following command:
Cd/tmp
TAR-ZXVF vmwaretools-version. tar.gz
- To change the directory to Vmware-tools-distrib and run the vmware-install.pl PERL script to install VMware Tools, run the following command:
CD Vmware-tools-distrib
./vmware-install.pl
Note :
- Follow the onscreen prompts to install VMware Tools. The options in square brackets are the default options and can be selected by pressing Enter .
- To successfully compile VMware Tools, you need the GCC compiler and the Linux kernel source provided by the Linux bundle. For more information about how to install these packages, consult the Linux distribution documentation.
- During installation, when you change the display size, it is normal for the console screen to turn blank for a short period of time.
- It is normal for some warnings or errors to occur, such as when a file does not exist.
- Depending on the Linux distribution, your network service may be restarted after installation. VMware recommends that you call this command from the console, not from the remote.
- If you are running the GUI interface, restart the X window session for any mouse or graphics changes to take effect.
- To start VMware Tools running in the background during an X window session, run the following command:
/usr/bin/vmware-toolbox &
- Depending on your environment, you may need to uninstall the CD-ROM. To uninstall the CD-ROM, run the following command:
Umount/mnt/cdrom
- Depending on your environment, you may need to end the VMware Tools installation manually. To end the VMware Tools installation, click Virtual Machine in the Virtual Machine menu, and then click Client > End VMware Tools Installation .
- To remove the VMware Tools installation package, run the following command:
Cd
rm/tmp/vmwaretools-version. tar.gz
Rm-rf/tmp/vmware-tools-distrib
- See General VMware Tools Installation Instructions (1014294) for common VMware Tools installation information.
If you encounter symbolic link creation errors during installation, see Unable to create the symbolic link when installing VMware Tools in Linux (2010580).
If you are running an unsupported bundle or using an unsupported kernel version, and you cannot compile the module or install VMware Tools,vmware, you are advised to browse the VMware Community Support forums. On these forums, the latest development kernels and solutions for building VMware Tools modules are regularly discussed.
can be used /usr/bin/vmware-uninstall-tools.pl script uninstalls VMware tools. For related information, see Installing VMware Tools in VSphere (2004754).
Note : VMware Tools no longer contains drivers for x Server 1.8 or later. Be sure to install the following SVGA and mouse drivers before installing VMware Tools:
- Xorg-x11-drv-vmware
- Xorg-x11-drv-vmmouse
If you do not install these drivers, the VMware Tools installation skips the x Windows configuration.
For a translated version of this article, see:
- Espa?ol:cómo instalar VMware Tools en una máquina virtual Linux con Compiler (2046859)
- Português:como instalar o VMware Tools em uma máquina virtual Linux usando um compilador (2046388)
Using the compiler to install VMware Tools in a Linux virtual machine