Loading

×Sorry to interrupt
CSS Error

Refresh

Cookie Preference Center

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All

My Subscriptions

Loading

Knowledge Base

Installing VMware Tools in a Linux virtual machine using a Compiler (1018414)

Last Updated: 4/18/2024Categories: How toTotal Views: 341143Language:
Chinese (Simplified)Portuguese (European)JapaneseSpanishEnglish

331 like this article

Subscribe to get an email
newsletter with new updates

331 people found this helpful Please provide article feedback:

Learn how VMware Skyline Advisor and Skyline Health Diagnostics work together to provide proactive intelligence and self-service log analysis.

Use Skyline Advisor to avoid issues before they occur across VCF, vSphere, vSAN, NSX, vROps & Horizon. Skyline Findings are based on top KBs, VMSAs/CVEs and design best practices.

Use Skyline Health Diagnostics to root cause vSphere & vSAN logs when an issue occurs. Skyline Health Diagnostic Findings are based on top KBs and VMSA/CVEs. You can use the Skyline Health Diagnostics tool in online or offline mode.

If you require additional help from technical support, please use Skyline Advisor to initiate a Log Assist to reduce time to upload logs. TSEs can also initiate logs to reduce effort.

Purpose

This article provides steps to install VMware Tools in a Linux guest operating system using Compiler.

Note:
For an overview of installing VMware Tools, see Overview of VMware Tools (340)
For general VMware Tools installation information, see Install VMware Tools (1014294)

Resolution

Note: If your Linux distribution is not RPM-based, has a custom kernel, or is unsupported, use the steps below to compile VMware Tools, otherwise, see Installing VMware Tools in a Linux virtual machine using RPM (1018392).

To install VMware Tools in a Linux guest operating system using Compiler:

Ensure that your Linux virtual machine is powered on.

If you are running a GUI interface, open a command shell.

Note: Log in as a root user, or use the sudo command to complete each of these steps.

Right Click VM in the virtual machine menu, then click Guest > Install/Upgrade VMware Tools.

Click OK.

Note: In some cases, verify that the CDROM device is Connected from within the Edit Settings option of the virtual machine.

To create a mount point, run:

mkdir /mnt/cdrom

To mount the CDROM, run:

mount /dev/cdrom /mnt/cdrom

To copy the Compiler gzip tar file to a temporary local directory, run:

cp /mnt/cdrom/VMwareTools-version.tar.gz /tmp/

Where version is the VMware Tools package version.

To determine the version of VMware tools, run:

ls /mnt/cdrom

You see output similar to:

# VMwareTools-5.0.0-12124.tar.gz

To change to the tmp directory and extract the contents of the tar file into a new directory called vmware-tools-distrib, run:

cd /tmp
tar -zxvf VMwareTools-version.tar.gz

To change directory to vmware-tools-distrib and run the vmware-install.pl PERL script to install VMware Tools, run:

cd vmware-tools-distrib
./vmware-install.pl

Notes:

Complete the screen prompts to install the VMware Tools. Options in square brackets are default choices and can be selected by pressing Enter.

To compile VMware Tools successfully, you need gcc Compiler and Linux Kernel sources provided by your Linux distribution. Consult your Linux distribution documentation for details on methods to install these packages.

It is normal for the console screen to go blank for a short time during the installation when the display size changes.

Some warnings or errors are normal, like when a files does not exist.

Depending on the Linux distribution, your network service might restart after installation. VMware recommends that you invoke this command from the console and not remotely.

If you are running a GUI interface, restart your 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, using terminal session run the command

/usr/bin/vmware-toolbox &

Depending on your environment, you may need to unmount the CD-ROM. To unmount the CD-ROM, run:

umount /mnt/cdrom

Depending on your environment, you may need to manually end the VMware Tools installation. To end the VMware Tools install, click VM in the virtual machine menu, then click Guest > End VMware Tools Install.

To remove VMware Tools installation packages, run:

cd
rm /tmp/VMwareTools-version.tar.gz
rm -rf /tmp/vmware-tools-distrib

Related Information

If you experience a symbolic link creation error during installation, see Unable to create the symbolic link when installing VMware Tools in Linux (2010580).

If you are running an unsupported distribution or using an unsupported kernel version and are not able to compile modules or install VMware Tools, VMware recommends that you explore the VMware community support forums. There are regular discussions on the forums about the latest development kernels and workarounds for building VMware Tools modules.

VMware tools can be uninstalled using the /usr/bin/vmware-uninstall-tools.pl script. For related information, see Installing VMware Tools in vSphere (2004754).

Note: VMware Tools no longer includes drivers for x Server 1.8 or higher. Ensure that these SVGA and mouse drivers are installed before installing VMware Tools:

xorg-x11-drv-vmware

xorg-x11-drv-vmmouse

If the drivers are not installed, VMware Tools installation will skip the x Windows configuration.

Note:-  For VMware support for open-vm-tools

For translated versions 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)

Installing and upgrading VMware Tools in vSphere
Unable to create the symbolic link when installing VMware Tools in Linux
Como instalar o VMware Tools em uma máquina virtual Linux usando um compilador
Cómo instalar VMware Tools en una máquina virtual Linux con Compiler
VMware Tools fail to start after a Linux guest operating system kernel upgrade
Compiler を使用して Linux 仮想マシンに VMware Tools をインストールする
使用编译器在 Linux 虚拟机中安装 VMware Tools
Overview of VMware Tools

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
Chinese (Simplified)Portuguese (European)JapaneseSpanishEnglish

Attachments

Additional Resources

No results for undefined

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware vSphere ESXi

Related Versions:

VMware vSphere ESXi 7.0.0

VMware vSphere ESXi 6.7

VMware vSphere ESXi 6.5

VMware vSphere ESXi 6.0

Take Our Survey

Support Assistant