installing VMware
#开头就是这样
[email protected]:~/downloads$./vmware-workstation-full-14.1.2-8497320.x86_64.bundle Extracting VMware Installer...done. gtk-message:failed to load module "Atk-bridge":/usr/lib/x86_64-linux-gnu/libatspi.so.0:undefined symbol:g_type_ Class_adjust_private_offset (vmware-installer.py:22083): gtk-warning * *: Unable to locate theme engine in Module_path: " Murrine ", (vmware-installer.py:22083): gtk-warning * *: Unable to locate theme engine in Module_path:" Murrine ", ( vmware-installer.py:22083): gtk-warning * *: Unable to locate theme engine in Module_path: "Murrine", (vmware-installer.py : 22083): gtk-warning * *: Unable to locate theme engine in Module_path: "Murrine", (vmware-installer.py:22083): gtk-warning * *: Unable to locate theme engine in Module_path: "Murrine", (vmware-installer.py:22083): gtk-warning * *: Unable to locate Theme engine in Module_path: "Murrine", (vmware-installer.py:22083): gtk-warning * *: Unable to locate theme engine in Modu Le_path: "Murrine", (vmware-installer.py:22083): gtk-warning * *: Unable to locate theme engine in Module_path: "Murrine", (vmware-installer.py:22083): gtk-warning * *: U Nable to locate theme engine in Module_path: "Murrine", (vmware-installer.py:22083): gtk-warning * *: Unable to locate theme Engine in Module_path: "Murrine", (vmware-installer.py:22083): gtk-warning * *: Unable to locate theme engine in Module_pat H: "Murrine", (vmware-installer.py:22083): gtk-warning * *: Unable to locate theme engine in Module_path: "Murrine", (VMware -installer.py:22083): gtk-warning * *: Unable to locate theme engine in Module_path: "Murrine", (vmware-installer.py:22083 ): gtk-warning * *: Unable to locate theme engine in Module_path: "Murrine", (vmware-installer.py:22083): gtk-warning * *: Un Able to locate theme engine in Module_path: "Murrine", (vmware-installer.py:22083): gtk-warning * *: Unable to locate theme Engine in Module_path: "Murrine", (vmware-installer.py:22083): gtk-warning * *: Unable to locate theme engine in Module_path : "Murrine", (Vmware-installer.py:22083): gtk-warning * *: Unable to locate theme engine in Module_path: "Murrine", (vmware-installer.py:22083): Gtk-wa rning * *: Unable to locate theme engine in Module_path: "Murrine", (vmware-installer.py:22083): gtk-warning * *: Unable to L Ocate theme engine in Module_path: "Murrine", (vmware-installer.py:22083): gtk-warning * *: Unable to locate theme engine in Module_path: "Murrine", (vmware-installer.py:22083): gtk-warning * *: Unable to locate theme engine in Module_path: "Murrin E ", (vmware-installer.py:22083): gtk-warning * *: Unable to locate theme engine in Module_path:" Murrine ", ( vmware-installer.py:22083): gtk-warning * *: Unable to locate theme engine in Module_path: "Murrine", (vmware-installer.py : 22083): gtk-warning * *: Unable to locate theme engine in Module_path: "Murrine", (vmware-installer.py:22083): gtk-warning * *: Unable to locate theme engine in Module_path: "Murrine", (vmware-installer.py:22083): gtk-warning * *: Unable to locate Theme engine in Module_path: "Murrine", (VMWAre-installer.py:22083): gtk-warning * *: Unable to locate theme engine in Module_path: "Murrine", (vmware-installer.py : 22083): gtk-warning * *: Unable to locate theme engine in Module_path: "Murrine", (vmware-installer.py:22083): gtk-warning * *: Unable to locate theme engine in Module_path: "Murrine", (vmware-installer.py:22083): gtk-warning * *: Unable to locate Theme engine in Module_path: "Murrine", (vmware-installer.py:22083): gtk-warning * *: Unable to locate theme engine in Modu Le_path: "Murrine", (vmware-installer.py:22083): gtk-warning * *: Unable to locate theme engine in Module_path: "Murrine", ( vmware-installer.py:22083): gtk-warning * *: Unable to locate theme engine in Module_path: "Murrine", (vmware-installer.py : 22083): gtk-warning * *: Unable to locate theme engine in Module_path: "Murrine", (vmware-installer.py:22083): gtk-warning * *: Unable to locate theme engine in Module_path: ' Murrine ', gtk-message:failed to load module ' canberra-gtk-module ': lib Canberra-gtk-module.so:cannot Open Shared object File:no such file or directory
#百度查找看到一哥们说解决了这个问题就试了下, the result is not suitable for this system
[email protected]:~/downloads$ sudo apt-get remove gtk2-engines-murrinereading package lists ... Donebuilding Dependency Tree Reading state information ... Donethe following packages'll be Removed:gtk2-engines-murrine light-themes ubuntu-artwork Ubuntu-desktop0 upgraded, 0 Newly installed, 4 to remove and Upgraded.2 not fully installed or removed. After this operation, 18.1 MB disk space would be freed. Want to continue? [y/n] Y (Reading database ... 240353 files and directories currently installed.) removing ubuntu-desktop (1.417) ... removing ubuntu-artwork (1:16.10+18.04.20180421.1-0UBUNTU1) ... removing light-themes (16.10+18.04.20180421.1-0UBUNTU1) ... removing gtk2-engines-murrine:amd64 (0.98.2-2UBUNTU1) ... Setting up Initramfs-tools (0.130ubuntu3.1) ... update-initramfs:deferring update (trigger activated) processing Triggers for Hicolor-icon-theme (0.17-2) ... Setting up Linux-image-4.15.0-30-generic (4.15.0-30.32) ... Processing triggers for initramfs-tools (0.130ubuntu3.1) ... update-initramfs:generating/boot/initrd.img-4.15.0-32-genericgzip:stdout:no space left on DeviceE: Mkinitramfs failure Find 141 cpio 141 gzip 1update-initramfs:failed for/boot/initrd.img-4.15.0-32-generic with 1.dpkg:e Rror processing Package Initramfs-tools (--configure): Installed Initramfs-tools package post-installation script Subprocess returned error exit status 1Processing triggers for Linux-image-4.15.0-30-generic (4.15.0-30.32) .../etc/ Kernel/postinst.d/initramfs-tools:update-initramfs:generating/boot/initrd.img-4.15.0-30-genericgzip:stdout:no Space left on Devicee:mkinitramfs failure find 141 cpio 141 gzip 1update-initramfs:failed for/boot/initrd.img-4.15.0-30 -generic with 1.run-parts:/etc/kernel/postinst.d/initramfs-tools exited and return code 1dpkg:error processing package Linux-image-4.15.0-30-generic (--configure): Installed Linux-image-4.15.0-30-generic package post-installation Script Subprocess returned error exit status 1Errors were Encountered while Processing:initramfs-tools Linux-image-4.15.0-30-generice:sub-process/usr/bin/dpkg returned an Error code (1)
#悲催的出现问题了
[email protected]:~/downloads$ sudo apt-get install gtk2-engines-murrinereading package lists ... Donebuilding Dependency Tree Reading state information ... Donethe following NEW packages'll be INSTALLED:GTK2-ENGINES-MURRINE0 upgraded, 1 newly installed, 0 to remove and n OT Upgraded.2 not fully installed or removed. Need to get 88.7 KB of archives. After this operation, 324 KB of additional disk space would be used. Get:1 http://cn.archive.ubuntu.com/ubuntu bionic/main amd64 gtk2-engines-murrine amd64 0.98.2-2ubuntu1 [88.7 KB] fetched 88.7 KB in 2s (54.9 kb/s) Selecting previously unselected package gtk2-engines-murrine:amd64. (Reading database ... 239503 files and directories currently installed.) Preparing to unpack .../gtk2-engines-murrine_0.98.2-2ubuntu1_amd64.deb ... Unpacking gtk2-engines-murrine:amd64 (0.98.2-2UBUNTU1) ... Setting up Gtk2-engines-murrine:amd64 (0.98.2-2UBUNTU1) ... Setting up Initramfs-tools (0.130ubuntu3.1) ... update-initramfs:deferring updATE (trigger activated) Setting up linux-image-4.15.0-30-generic (4.15.0-30.32) ... Processing triggers for initramfs-tools (0.130ubuntu3.1) ... update-initramfs:generating/boot/ Initrd.img-4.15.0-32-genericgzip:stdout:no space left on Devicee:mkinitramfs failure find 141 Cpio 141 gzip 1update-ini tramfs:failed for/boot/initrd.img-4.15.0-32-generic with 1.dpkg:error processing package initramfs-tools (--configure ): Installed Initramfs-tools package post-installation Script subprocess returned error exit status 1Processing triggers F or Linux-image-4.15.0-30-generic (4.15.0-30.32) .../etc/kernel/postinst.d/initramfs-tools:update-initramfs: Generating/boot/initrd.img-4.15.0-30-genericgzip:stdout:no space left on Devicee:mkinitramfs failure find 141 Cpio 141 Gzip 1update-initramfs:failed for/boot/initrd.img-4.15.0-30-generic with 1.run-parts:/etc/kernel/postinst.d/ Initramfs-tools exited with return code 1DPKG:ERROR processing package Linux-image-4.15.0-30-generic (--configure):Installed Linux-image-4.15.0-30-generic Package post-installation Script subprocess returned error exit status 1Errors we Re encountered while Processing:initramfs-tools Linux-image-4.15.0-30-generice:sub-process/usr/bin/dpkg returned an Error code (1)
#尝试修复, results are useless
[email protected]:~/downloads$ sudo apt--fix-broken installreading package lists ... Donebuilding Dependency Tree Reading state information ... DONE0 upgraded, 0 newly installed, 0 to-remove and not Upgraded.2 not fully installed or removed. After this operation, 0 B of additional disk space would be used. Setting up Initramfs-tools (0.130ubuntu3.1) ... update-initramfs:deferring update (trigger activated) Setting up Linux-image-4.15.0-30-generic (4.15.0-30.32) ... Processing triggers for initramfs-tools (0.130ubuntu3.1) ... update-initramfs:generating/boot/ Initrd.img-4.15.0-32-genericgzip:stdout:no space left on Devicee:mkinitramfs failure find 141 Cpio 141 gzip 1update-ini tramfs:failed for/boot/initrd.img-4.15.0-32-generic with 1.dpkg:error processing package initramfs-tools (--configure ): Installed Initramfs-tools package post-installation Script subprocess returned error exit status 1Processing triggers F or Linux-image-4.15.0-30-generic (4.15.0-30.32) .../etc/kernel/Postinst.d/initramfs-tools:update-initramfs:generating/boot/initrd.img-4.15.0-30-genericgzip:stdout:no Space Left on Devicee:mkinitramfs failure find 141 cpio 141 gzip 1update-initramfs:failed For/boot/initrd.img-4.15.0-30-gener IC with 1.run-parts:/etc/kernel/postinst.d/initramfs-tools exited with return code 1dpkg:error processing package linux- Image-4.15.0-30-generic (--configure): Installed Linux-image-4.15.0-30-generic package post-installation script Subprocess returned error exit status 1Errors were encountered while Processing:initramfs-tools Linux-image-4.15.0-30-ge Nerice:sub-process/usr/bin/dpkg returned an error code (1)
#一直看啊看, looking for, finally found that the version mismatch, upgraded. Find the problem to solve the problem, then delete the new version, remove the smooth
[email protected]:~/downloads$ sudo apt-get remove Initramfs-tools linux-image-4.15.0-30-genericreading Package Lists ... Donebuilding Dependency Tree Reading state information ... Donethe following packages'll be Removed:brltty initramfs-tools linux-image-4.15.0-30-generic Linux-modules-extra-4.15.0-30-generic Ubuntu-minimal0 upgraded, 0 newly installed, 5 to-remove and 0 not Upgraded.2 not fu Lly installed or removed. After this operation, 187 MB disk space would be freed. Want to continue? [y/n] Y (Reading database ... 239508 files and directories currently installed.) removing ubuntu-minimal (1.417) ... removing Brltty (5.5-4UBUNTU2) ... removing initramfs-tools (0.130ubuntu3.1) ... removing linux-modules-extra-4.15.0-30-generic (4.15.0-30.32) ... removing linux-image-4.15.0-30-generic (4.15.0-30.32) ... I:/vmlinuz.old is now a symlink to Boot/vmlinuz-4.15.0-20-generici:/initrd.img.old are now a symlink to boot/initrd.img-4 .15.0-20-generici:/vmlinuz is now a symlink to BOot/vmlinuz-4.15.0-32-generici:/initrd.img is now a symlink to boot/initrd.img-4.15.0-32-generic/var/lib/dpkg/info/ LINUX-IMAGE-4.15.0-30-GENERIC.POSTRM removing pending trigger/etc/kernel/postrm.d/zz-update-grub:generating Grub configuration file ... Found Linux Image:/boot/vmlinuz-4.15.0-32-genericfound initrd Image:/boot/initrd.img-4.15.0-32-genericfound Linux Image:/boot/vmlinuz-4.15.0-20-genericfound initrd Image:/boot/initrd.img-4.15.0-20-genericfound memtest86+ Image:/ Memtest86+.elffound memtest86+ Image:/memtest86+.binfile Descriptor (/VAR/LIB/DPKG/TRIGGERS/UPDATE-INITRAMFS ( deleted)) leaked on LVs invocation. Parent PID 26578:/bin/shfound Windows 7 on/dev/sda1doneprocessing triggers for man-db (2.8.3-2) ...
#安装VMware-workstation-full-14.1.2-8497320.x86_64.bundle
[email protected]:~/Downloads$ ./VMware-Workstation-Full-14.1.2-8497320.x86_64.bundle Extracting VMware Installer...done.Gtk-Message: Failed to load module "atk-bridge": /usr/lib/x86_64-linux-gnu/libatspi.so.0: undefined symbol: g_type_class_adjust_private_offsetGtk-Message: Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so: cannot open shared object file: No such file or directory[email protected]:~/Downloads$ sudo ./VMware-Workstation-Full-14.1.2-8497320.x86_64.bundle Extracting VMware Installer...done.Gtk-Message: Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so: cannot open shared object file: No such file or directory
→→ Error:
1. Installation requires sudo command, no input
2. Package Atk-bridge, Canberra-gtk-module not found
#两个包已经安装过了, but unable to load
[email protected]:~/Downloads$ sudo apt-get install libatspi2.0-0 libcanberra-gtk-module Reading package lists... DoneBuilding dependency tree Reading state information... Donelibatspi2.0-0 is already the newest version (2.28.0-1).libcanberra-gtk-module is already the newest version (0.30-5ubuntu1).0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
#输入ldconfig to make the library effective
[email protected]:~/Downloads$ sudo ldconfig
#查看运行环境是否还缺少包, you can see that there is one less.
[email protected]:~/Downloads$ sudo ./VMware-Workstation-Full-14.1.2-8497320.x86_64.bundle Extracting VMware Installer...done.Gtk-Message: Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so: cannot open shared object file: No such file or directory
#尝试装了ibcanberra-gtk-dev, find out really can, then solve the problem.
[email protected]:~/Downloads$ sudo apt-get install libcanberra-gtk-dev
#输入启动命令, press install finally can.
[email protected]:~/downloads$ vmwaregtk-message:10:10:14.604:gtkdialog mapped without a transient parent. This is discouraged. Stopping VMware services:vmware authentication Daemon done VMS communication in Terface Socket Family done Virtual Machine communication interface Done Virtual Machine Monitor done Blocking file system donemake:entering directory '/tmp/modconfig-ndtq8h/vmmon-only '/usr/bin/make-c/lib/modules /4.15.0-20-generic/build/include/. subdirs= $PWD srcroot= $PWD/. Modulebuilddir= modulesmake[1]: Entering directory '/usr/src/linux-headers-4.15.0-20-generic ' CC [M]/tmp/ MODCONFIG-NDTQ8H/VMMON-ONLY/LINUX/DRIVER.O cc [m]/tmp/modconfig-ndtq8h/vmmon-only/linux/hostif.o cc [m]/tmp/ MODCONFIG-NDTQ8H/VMMON-ONLY/LINUX/DRIVERLOG.O CC [M]/tmp/modconfig-ndtq8h/vmmon-only/coMMON/MEMTRACK.O cc [m]/tmp/modconfig-ndtq8h/vmmon-only/common/apic.o cc [m]/tmp/modconfig-ndtq8h/vmmon-only/common /VMX86.O cc [m]/tmp/modconfig-ndtq8h/vmmon-only/common/hashfunc.o cc [m]/tmp/modconfig-ndtq8h/vmmon-only/common/ CPUID.O cc [m]/tmp/modconfig-ndtq8h/vmmon-only/common/task.o cc [m]/tmp/modconfig-ndtq8h/vmmon-only/common/comport . o cc [m]/tmp/modconfig-ndtq8h/vmmon-only/common/phystrack.o CC [m]/tmp/modconfig-ndtq8h/vmmon-only/vmcore/ MODULELOOP.O cc [m]/tmp/modconfig-ndtq8h/vmmon-only/bootstrap/monloadervmmon.o cc [m]/tmp/modconfig-ndtq8h/ VMMON-ONLY/BOOTSTRAP/MONLOADER.O CC [m]/TMP/MODCONFIG-NDTQ8H/VMMON-ONLY/BOOTSTRAP/BOOTSTRAP.O LD [m]/tmp/ MODCONFIG-NDTQ8H/VMMON-ONLY/VMMON.O Building modules, Stage 2. Modpost 1 Modules cc/tmp/modconfig-ndtq8h/vmmon-only/vmmon.mod.o LD [M]/tmp/modconfig-ndtq8h/vmmon-only/vmmon.ko MAKE[1]: Leaving directory '/usr/src/linux-headers-4.15.0-20-generic '/usr/bin/make-c $PWD srcroot= $PWD/. ModulebuilDdir= postbuildmake[1]: Entering directory '/tmp/modconfig-ndtq8h/vmmon-only ' make[1]: ' PostBuild ' is up to date.make[1] : Leaving directory '/tmp/modconfig-ndtq8h/vmmon-only ' Cp-f vmmon.ko./. /vmmon.omake:leaving directory '/tmp/modconfig-ndtq8h/vmmon-only ' make:entering directory '/tmp/modconfig-ndtq8h/ Vmnet-only '/usr/bin/make-c/lib/modules/4.15.0-20-generic/build/include/. subdirs= $PWD srcroot= $PWD/. Modulebuilddir= modulesmake[1]: Entering directory '/usr/src/linux-headers-4.15.0-20-generic ' CC [M]/tmp/ MODCONFIG-NDTQ8H/VMNET-ONLY/DRIVER.O cc [m]/tmp/modconfig-ndtq8h/vmnet-only/hub.o cc [m]/tmp/modconfig-ndtq8h/ VMNET-ONLY/USERIF.O cc [m]/tmp/modconfig-ndtq8h/vmnet-only/netif.o cc [m]/tmp/modconfig-ndtq8h/vmnet-only/bridge.o CC [m]/tmp/modconfig-ndtq8h/vmnet-only/procfs.o cc [m]/tmp/modconfig-ndtq8h/vmnet-only/smac.o cc [m]/tmp/modconfi G-NDTQ8H/VMNET-ONLY/SMAC_COMPAT.O cc [m]/tmp/modconfig-ndtq8h/vmnet-only/vnetevent.o cc [m]/tmp/modconfig-nDtq8h/ VmNET-ONLY/VNETUSERLISTENER.O LD [M]/TMP/MODCONFIG-NDTQ8H/VMNET-ONLY/VMNET.O Building modules, Stage 2. Modpost 1 Modules cc/tmp/modconfig-ndtq8h/vmnet-only/vmnet.mod.o LD [M]/tmp/modconfig-ndtq8h/vmnet-only/vmnet.ko MAKE[1]: Leaving directory '/usr/src/linux-headers-4.15.0-20-generic '/usr/bin/make-c $PWD srcroot= $PWD/. Modulebuilddir= postbuildmake[1]: Entering directory '/tmp/modconfig-ndtq8h/vmnet-only ' make[1]: ' PostBuild ' is up to DATE.MAKE[1]: Leaving directory '/tmp/modconfig-ndtq8h/vmnet-only ' Cp-f Vmnet.ko. /vmnet.omake:leaving directory '/tmp/modconfig-ndtq8h/vmnet-only ' starting VMware services:virtual machine Monitor Done Vsan Communication interface done VM Communication Interface Socket family done Blocking file system Done Virtual Ethernet Done VMware authentication Daemon do Shared Memory Available Done
#终于看到熟悉的界面了
ubunut-install VMware + Pro Experience