http://www.linuxidc.com/Linux/2012-01/50944.htmlinux
系統平臺:RHEL6.1 X86 32bitvim
軟件版本:VMware-Workstation-Full-8.0.0-471780.i386.bundlespa
說明:適用於其餘平臺,其餘VMware-Workstation版本。安裝完成後要運行虛擬機,須要先輸入序列號。xml
1.首先到官網上下載最新的版本,下載到本地後賦予可執行的權限。htm
- # chmod +x VMware-Workstation-Full-8.0.0-471780.i386.bundle
2.執行安裝。雖然可以彈出圖形的安裝界面,但有以下的錯誤信息。虛擬機
- # ./VMware-Workstation-Full-8.0.0-471780.i386.bundle
- Extracting VMware Installer...done.
- Gtk-Message: Failed to load module "pk-gtk-module": libpk-gtk-module.so: cannot open shared object file: No such file or directory
- Gtk-Message: Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so: cannot open shared object file: No such file or directory
3.解決上述Gtk的報錯,主要是相應的module找不到。it
3.1. 先肯定須要的module系統是否安裝及其位置。io
- # locate libpk-gtk-module.so
- /usr/lib/gtk-2.0/modules/libpk-gtk-module.so
- # locate libcanberra-gtk-module.so
- /usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so
3.2.添加系統加載modules的路徑。class
- # vim /etc/ld.so.conf.d/gtk-2.0.conf
- /usr/lib/gtk-2.0/modules
3.3.從新加載。module
- # ldconfig
從新執行安裝,而後一路Next就能夠了。
- ./VMware-Workstation-Full-8.0.0-471780.i386.bundle
- Extracting VMware Installer...done.
注意事項:
locate: can not stat () `/var/lib/mlocate/mlocate.db': No such file or directory
若是出現此錯誤,請執行updatedb