安装VMware-tools的问题

时间:2023-03-09 00:55:03
安装VMware-tools的问题

今天晚上解决了之前在跟着

Linux学习之CentOS(六)--CentOS下VMware-Tools安装

解压部分,cp 压缩文件时,没有通过命令,直接鼠标操作复制到/home/ranjiewen下,然后tar 貌似从/home/ranjiewen/VM...根目录下解压才成功的。@修改2016-09-16   21:50:10

学习时安装出现的问题:

The installer found the following conflicting packages installed on the system and will now remove them:
open-vm-tools
错误:依赖检测失败:
libhgfs.so.()(64bit) 被 (已安裝) open-vm-tools-desktop-9.4.-.el7.x86_64 需要
libvmtools.so.()(64bit) 被 (已安裝) open-vm-tools-desktop-9.4.-.el7.x86_64 需要
open-vm-tools(x86-) = 9.4.-.el7 被 (已安裝) open-vm-tools-desktop-9.4.-.el7.x86_64 需要
Failed to remove the following packages:
open-vm-tools
Please manually remove them before installing VMware Tools.
Execution aborted.

之前一直都没解决,今天百度之然后搞定了,

就是要手工:

手工删除RPM包open-vm-tools,然后继续安装

[root@localhost vmware-tools-distrib]# rpm -e open-vm-tools --nodeps
[root@localhost vmware-tools-distrib]# ./vmware-install.pl

后面出现

what is the location of the gcc program on your machine?时,解决方法:

你点击what is the location of "gcc"program on your machine 然后回车,它会问你:Would you like to change it  注意这项, 你选 NO  ,输入的方法就是  空格+no  然后它就不会出现那个what is the location of "gcc"program on your machine,然后出现警告,不管他,直接全部回车按下去,最后就看到 分辨率 那个了