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

Skip to main content

My Subscriptions

Loading

Knowledge Base

Manually building VMware Tools kernel modules in Ubuntu guests (1008973)

Last Updated: 9/5/2017Categories: How toTotal Views: 120206Language:
Chinese (Simplified)Portuguese (European)JapaneseSpanishEnglish

2 like this article

Subscribe to get an email
newsletter with new updates

2 people found this helpful Please provide article feedback:

Details

While running the /usr/bin/vmware-config-tools.pl script during the VMware Tools installation, you might need to manually build the VMware Tools kernel modules on an Ubuntu guest. For example, if the guest does not have support for prebuilt kernel modules (PBMs), you will need to build them manually. PBMs are a collection of Linux drivers that facilitate optimal operation of the virtual machine.

Solution

Missing Prebuilt Kernel Modules

If the /usr/bin/vmware-config-tools.pl script cannot locate prebuilt kernel modules for your guest, the following message appears:

None of the pre-built vmmemctl modules for VMware Tools is suitable for your running kernel. Do you want this program to try to build the vmmemctl module for your system (you need to have a C compiler installed on your system)? [yes]

Solution: Press Y to continue the install process.

Missing Compiler Program

If the /usr/bin/vmware-config-tools.pl script cannot find a C compiler program on your system, one of the following messages appears:

Unable to find the 'make' program.

Solution: Run the apt-get install build-essentialcommand to install the packages needed to build the kernel modules.

Setup is unable to find the 'make' program on your machine. Please make sure it is installed. Do you want to specify the location of this program by hand? [yes]

Solution: Provide the complete name of a binary 'make' file.

Press Y to continue. The following message appears: What is the location of the 'make' program on your machine?

Enter the complete name of a binary 'make' file. If you do not provide the complete name, the following message appears: The answer "<binary file name> is invalid. It must be the complete name of a binary file.

Locating and Installing the C Header Files

If the script cannot locate the C header files in the default directory, /usr/src/linux/include, the following message appears:

What is the location of the directory of C header files that match your running kernel?

Solution: In a terminal window, run the following commands to install the Linux C header files:

Run theuname -rcommand to find the kernel version. An example of the output:2.6.24-23-server.

Run theapt-cache search <version number>command to get the list of packages that includes the version number. For example:apt-cache search 2.6.24-23-server. Check the list and locate the linux-headers package name ( linux-headers-<kernel version>). For example:linux-headers-2.6.24-23-server.

Run theapt-get install linux-headers-<kernel version>command to install the Linux C header files on your system. For example:apt-get install linux-headers-2.6.24-23-server.

After the script detects the header files, it will use them in building the kernel modules.

Alternatively, you can run the command:

aptitude install linux-headers-$(uname -r)

General Instructions

For general instructions on installing VMware Tools in an Ubuntu Guest, see:

Installing VMware Tools in a Linux virtual machine using Compiler (1018414) – This article contains a video walkthrough for installing Tools in a Workstation guest.

Installing VMware Tools in an Ubuntu virtual machine (1022525) – This article was written specifcally for Fusion users.

Additional Information:

For translated versions of this article, see:

Español: Construir de forma manual módulos de kernel de VMware Tools en un sistema huésped Ubuntu (2016664)

Português: Criação manual de módulos do kernel do VMware Tools em convidados do Ubuntu (2016028)

日本語: Ubuntu ゲストで VMware Tools カーネル モジュールを手動でビルドする (2053207)

简体中文: 在 Ubuntu 客户系统手动编译 VMware Tools 内核模块 (2030455)

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
Chinese (Simplified)Portuguese (European)JapaneseSpanishEnglish

Attachments

Additional Resources

KB
•
End Of General Availability of the Free vSphere Hypervisor (ESXi 7.x and 8.x) (2107518)

Result 1 of 1

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware Workstation Player

VMware Workstation

VMware vSphere ESXi

VMware Server

VMware Player

VMware GSX Server

VMware Fusion

VMware ESX Server

VMware ACE

view all

Related Versions:

Take Our Survey

Was this article helpful?

YES

NO

Copyright © 2005-2024 Broadcom. All Rights Reserved. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.

Terms of Use

Your California Privacy Rights

Privacy

Accessibility

Cookie Settings

Support Assistant