之前安装依赖
yum -y install perl gcc gcc-c++ make cmake kernel kernel-headers kernel-devel net-tools
Gtk-Message: 16:04:47.063: Failed to load module “canberra-gtk-module”
安装 dnf -y install libcanberra-gtk*
https://www.cnblogs.com/roooookie/p/8473640.html
报错
[zengkun@localhost vmWare]$ ./VMware-Workstation-Full-15.1.0-13591040.x86_64.bundle
Extracting VMware Installer…done.
No protocol specified
No protocol specified
root access is required for the operations you have chosen.
查看安装日志
[root@localhost vmWare]# cd /tmp/vmware-zengkun/
[root@localhost vmware-zengkun]# ls
vmware-installer.log vmware-vmis-11988.log vmware-vmis-12434.log
[root@localhost vmware-zengkun]# cat vmware-installer.log
[2019-08-13 14:33:44,612]
[2019-08-13 14:33:44,613]
[2019-08-13 14:33:44,613] Installer running.
[2019-08-13 14:33:44,613] Command Line Arguments:
[2019-08-13 14:33:44,613] [’/tmp/vmis.0N0S4L/install/vmware-installer/vmware-installer.py’, ‘–set-setting’, ‘vmware-installer’, ‘libconf’, ‘’, ‘–install-component’, ‘/tmp/vmis.0N0S4L/install/vmware-installer’, ‘–install-bundle’, ‘/home/zengkun/software/vmWare/./VMware-Workstation-Full-15.1.0-13591040.x86_64.bundle’, ‘’]
[2019-08-13 14:33:44,662] /tmp/vmis.0N0S4L/install/vmware-installer/python/pygtk/gtk/init.py:69: GtkWarning: could not open display
warnings.warn(str(e), _gtk.Warning)
[2019-08-13 14:33:44,663] Unable to initialize gtk: could not open display
[2019-08-13 14:33:44,664] Could not set up curses… Falling back on null term type.
[2019-08-13 14:33:44,667] UI Initialization failed.
Traceback (most recent call last):
File “/tmp/vmis.0N0S4L/install/vmware-installer/vmware-installer.py”, line 293, in main
ui.Initialize(options.ui)
File “/tmp/vmis.0N0S4L/install/vmware-installer/vmis/ui/init.py”, line 77, in Initialize
exec ‘from vmis.ui.null import *’ in globals()
File “”, line 1, in
File “/tmp/vmis.0N0S4L/install/vmware-installer/vmis/ui/null.py”, line 13, in
from vmis.ui import console
File “/tmp/vmis.0N0S4L/install/vmware-installer/vmis/ui/console.py”, line 9, in
import curses
File “/tmp/vmis.0N0S4L/install/vmware-installer/python/lib/curses/init.py”, line 15, in
from _curses import *
ImportError: libncursesw.so.5: 无法打开共享对象文件: 没有那个文件或目录
个人理解少了这个依赖
安装依赖
[root@localhost vmware-zengkun]# dnf install ncurses-compat-libs
然后再安装vm