centos wine安装 Wine Gecko(Wine Gecko Installer)
在Linux上wine了电驴想下点东西,启动程序后,总是提示说需要安装gecko。
当Wine程序需要显示HTML网页时,Wine就会弹出Wine Gecko Installer窗口要求安装Gecko,而它又要连到网上下载Gecko,对于网络不好或教育网的用户通常是安装不了的。百度一下终于解决了离线安装Wine Gecko的问题。步骤如下:
1. 从http://source.winehq.org/winegecko.php下载 wine_gecko.cab
2. $ cp wine_gecko.cab ~/.wine/drive_c/
3. $ regedit
修改 HKCU/Software/Wine/MSHTML 中的GeckoUrl为:C:\wine_gecko.cab
4. 接着执行需要HTML支持的程序,当弹出Wine Gecko Instalerl窗口时,点安装就行了,这是你会发现它瞬间就安装完成了。
5. 删除wine_gecko.cab,$ rm ~/.wine/drive_c/wine_gecko.cab
via.http://blog.sina.com.cn/s/blog_5042ea610100fend.html
方法二:
1. wget http://sourceforge.net/projects/wine/files/Wine%20Gecko/0.1.0/wine_gecko-0.1.0.cab/download
2. cabextract -d ~/.wine/drive_c/windows/gecko/0.1.0/ wine_gecko-0.1.0.cab
3. run wine iexplore www.winehq.org
Wine Gecko下载地址:http://sourceforge.net/projects/wine/files/Wine%20Gecko/
wine gecko版本对照表:
wine-0.9.47 - wine-1.1.11 → wine_gecko-0.1.0.cab
wine-1.1.12 - wine-1.1.14 →wine_gecko-0.9.0.cab
wine-1.1.15 - wine-1.1.26 →wine_gecko-0.9.1.cab
wine-1.1.27 - wine-1.3.1 → wine_gecko-1.0.0-x86.cab
wine-1.3.2 - wine-1.3.15 → wine_gecko-1.1.0-x86.cab wine_gecko-1.1.0-x86_64.cab
wine-1.3.16 - current → wine_gecko-1.2.0-x86.msi wine_gecko-1.2.0-x86_64.msi
via.http://wiki.winehq.org/Gecko
卸载/删除 gecko
清空删除 ~/.wine/drive_c/windows/gecko/ 目录下,即可
当前页面是本站的「Google AMP」版。查看和发表评论请点击:完整版 »
因本文不是用Markdown格式的编辑器书写的,转换的页面可能不符合AMP标准。