VMware Workstation 12(.bundle format)
安装依赖包:
zypper in gcc kernel-devel
增加执行权限并运行:
chmod +x VMware-Workstation-xxxxxxx.bundle
./VMware-Workstation-xxxxxxx.bundle
出现了问题,提示找不到module:
Extracting VMware Installer...done.
Gtk-Message: Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so: 无法打开共享对象文件: 没有那个文件或目录
刚开始以为是第一次安装时,有一个地方提示填用户名的地方不对,想卸载vmware重装试试。
Linux下卸载vmware
1.先查看安装的虚拟机
vmware-installer -l
然后会显示版本和产品名称
Product Name Product Version
====================== ====================
vmware-workstation 7.0.1.227600
2.卸载虚拟机
#vmware-installer --uninstall-product vmware-workstation
~~重装后还是没用,接下来就参照网上的方法,解决找不到模块的问题。~~
用locate命令看看module在哪里(如果提示没有locate命令,则需要先安装**包)
locate libcanberra-gtk-module.so
我的输出如下,找到了很多
looloo:/home/lulu # locate canberra-gtk-module
/etc/X11/xinit/xinitrc.d/libcanberra-gtk-module.sh
/home/lulu/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/installed/libcanberra-gtk-module_0.28- 3ubuntu3+steamrt1+srt5_amd64
/home/lulu/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/installed/libcanberra-gtk-module_0.28-3ubuntu3+steamrt1+srt5_amd64.md5
/home/lulu/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/gnome-settings-daemon-3.0/gtk-modules/canberra-gtk-module.desktop
**/home/lulu/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/gtk-2.0/modules/libcanberra-gtk-module.so**
/home/lulu/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/share/doc/libcanberra-gtk-module
/home/lulu/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/share/doc/libcanberra-gtk-module/README.gz
/home/lulu/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/share/doc/libcanberra-gtk-module/changelog.Debian.gz
/home/lulu/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/share/doc/libcanberra-gtk-module/copyright
/home/lulu/.local/share/Steam/ubuntu12_32/steam-runtime/i386/installed/libcanberra-gtk-module_0.28-3ubuntu3+steamrt1+srt5_i386
/home/lulu/.local/share/Steam/ubuntu12_32/steam-runtime/i386/installed/libcanberra-gtk-module_0.28-3ubuntu3+steamrt1+srt5_i386.md5
/home/lulu/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/gnome-settings-daemon-3.0/gtk-modules/canberra-gtk-module.desktop
/home/lulu/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/gtk-2.0/modules/libcanberra-gtk-module.so
/home/lulu/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/share/doc/libcanberra-gtk-module
/home/lulu/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/share/doc/libcanberra-gtk-module/README.gz
/home/lulu/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/share/doc/libcanberra-gtk-module/changelog.Debian.gz
/home/lulu/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/share/doc/libcanberra-gtk-module/copyright
/usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so
/usr/lib64/gnome-settings-daemon-3.0/gtk-modules/canberra-gtk-module.desktop
/usr/lib64/gtk-2.0/modules/libcanberra-gtk-module.so
/usr/lib64/gtk-3.0/modules/libcanberra-gtk-module.so
注意事项:
1、locate: can not stat () `/var/lib/mlocate/mlocate.db': No such file or directory
如果出现此错误,请执行updatedb
2、/usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so 这个用了没用
/home/lulu/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/gtk-2.0/modules/libcanberra-gtk-module.so 这个OK
3、有待验证最后两行的哪个是和2的一样。使用md5试试
将.so文件路径的目录添加到/etc/ld.so.conf
#vim /etc/ld.so.conf
文件末尾新添加一行,/home/liu/Desktop/jsoncpp-src-0.5.0/libs/linux-gcc-4.6
使用下面的命令使修改生效:
#/sbin/ldconfig
顺利安装,没有任何错误。
但,虽然安装成功了,但是无法运行,同样————没有任何提示
(仅供参考https://software.opensuse.org/package/libcanberra-gtk-module-common)
-------
安装网易云音乐,选择对应自己的版本和平台就可以了
https://software.opensuse.org/package/netease-cloud-music?search_term=netease
-------
安装steam
https://software.opensuse.org/package/steam
如果安装后打不开,参考以下网址解决问题
https://en.opensuse.org/Steam
$STEAM_RUNTIME=0 steam
更新完之后,直接点击桌面上的steam运行即可。