use*_*875 17 vmware gcc virtual-machine
好吧所以我试图使用这些说明从命令行使用tar安装程序来安装VMware工具:http: //www.vmware.com/support/ws5/doc/ws_newguest_tools_linux.html#wp1118025
我在lubuntu上安装vmware工具,我使用vmplayer作为虚拟机运行.在步骤5之后,当在屏幕上响应配置问题时,它说
the installatinon of vmware tools 9.2.3 build-1031360 for linux completed sucessfully. you can devide to
remove this software form your system at any time by invoking the following command:
"/usr/bin/vmware-uninstall-tools.pl".
before running vmware tools for the first time, you need to configure it by invoking the following command:
"usr/bin/vmware-config-tools.pl". Do you want this program to invoke the command for you now?
[yes]
Run Code Online (Sandbox Code Playgroud)
我按下了Enter键并接受了默认的[yes]值,现在就说了
Before you can compile modules, you need to have the following installed...
make
gcc
kernel headers of the running kernel
Searching for GCC...
the path "" is not valid path to the gcc binary.
Would you like to change it? [yes]
What is the location of the gcc program on your machine?
Run Code Online (Sandbox Code Playgroud)
我做到了
locate gcc
Run Code Online (Sandbox Code Playgroud)
并发现有一个名为/ usr/lib/gcc的文件夹,所以我试着把它作为位置,但它说路径"/ usr/lib/gcc"不是gcc库的有效路径.如何找到gcc二进制文件在我的机器上的位置?
小智 13
安装必备软件VMware Tools for LinuxOS:
如果你有RHEL/CentOS:
yum install perl gcc make kernel-headers kernel-devel -y
Run Code Online (Sandbox Code Playgroud)
如果你有Ubuntu/Debian:
sudo apt-get -y install linux-headers-server build-essential
Run Code Online (Sandbox Code Playgroud)
摘自:http://www.sysadmit.com/2016/01/vmware-tools-linux-instalar-requisitos.html
找到了答案。我要做的是第一
sudo apt-get install aptitude
sudo aptitude install libglib2.0-0
sudo aptitude install gcc-4.7 make linux-headers-`uname -r` -y
Run Code Online (Sandbox Code Playgroud)
并尝试了一下,但没有成功,所以我继续做
sudo apt-get install build-essential
sudo apt-get install gcc-4.7 linux-headers-`uname -r`
Run Code Online (Sandbox Code Playgroud)
在完成这两个步骤并重试之后,它成功了。
| 归档时间: |
|
| 查看次数: |
97303 次 |
| 最近记录: |