Debian install VMware-tools

Source: Internet
Author: User
Debian: Install VMware-tools-Debian, a Linux release technology. For details, refer to the following section. I have been trying to develop the S1mp3 project in Linux recently. However, after I installed Debian/Linux in VMware, I could not install VMware-tools. I collected some information on the Internet, but none of the materials were suitable for me, I can't help but start by myself. After several hours of hard work, I have finally solved the problem. Now I want to publish my methods to everyone to avoid detours.

The following commands are used: apt-get, apt-cache, and uname-.

First, check that when Debian is installed, there is no gcc or kernel header file installed.

Perform the following steps:

1. Select Vm> install vmware-tools from the vmware menu. At this time, vmware maps the installation file to your cdrom.

2. Enter your cdrom, right-click and copy vmwarw.ls-5.0-18463.tar.gz to the/tmp directory, right-click and choose extract. Of course, you can also use the command line method in these two steps. I am not familiar with the command line. Detailed command line methods can be found on the Internet.

3. Install the c compiler. (If gcc is not installed, run the which gcc command to check whether it has been installed ).

A. in the command line, type su (enter root for program installation, and normal users cannot use apt-get install). Enter the root password and then run the command line from qinfengling @ debian: $ change to debian:/home/qinfengling #

B: Then type apt-get install gcc in the command line. By default, the famous gcc compiler can be installed successfully.

4. Install kernel-header (mainly to solve What is the location of the directory of C header files that match your running kernel? The steps are as follows:

A. Type "uname-a" in the command line to view the version. My version is Linux debian 2.6.18-4-686.

B. Enter apt-cache search headers 2.6.18-4-686 (then search for the header file of the kernel)

C. Type the command to install: apt-get install Linux hearders-2.6.18-2-686

5. then you can proceed smoothly. first enter the/tmp/vmware-tools-distrib folder in the command line, and then enter. /vmware-install.pl, select the default installation on the line, encounter [yes] Input yes or y.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.