2012年4月27日星期五
ubuntu安装chrome deb异常解决
Ubuntu 12.04 32位 安装 Chrome stable 版本, 双击提示 软件中心提示
“内部错误 无法打开文件 /home/user/xxxx/google-chrome-stable_current_i386.deb”
原因我也没有查明, 但是做了以下操作后, 就能够正确安装了
首先 更新软件中心
sudo apt-get upgrade software-center
然后再双击下载下来的deb包 既可正确安装
PS: 如果无法更新software center, 尝试先注销用户, 然后使用字符界面进行更新!
ubuntu install wine,winetricks and RTX
安装Wine
1.命令行方式
1.1添加软件源ppa
(1)Ubuntu软件中心>编辑>软件源>其他>添加 输入apt行:ppa:ubuntu-wine/ppa或者ppa:wine-cn/ppa
1.2更新
sudo apt-get update
1.3安装
sudo apt-get install wine
1.4解决中文乱码问题
ln -s /usr/share/fonts/truetype/wqy/wqy-microhei.ttc ~/.wine/drive_c/windows/Fonts/
gedit zh.reg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
| REGEDIT4 [HKEY_CURRENT_USER\Software\Wine] "Version" = "win7" [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes] "Tahoma" = "WenQuanYi Micro Hei" [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontLink\SystemLink] "Lucida Sans Unicode" = "wqy-microhei.ttc,wqy-microhei" "Microsoft Sans Serif" = "wqy-microhei.ttc,wqy-microhei" "SimSun" = "wqy-microhei.ttc,wqy-microhei" "Tahoma" = "wqy-microhei.ttc,wqy-microhei" [HKEY_CURRENT_USER\Control Panel\Desktop] "FontSmoothing" = "2" |
1.5处理中文汉字前二个子为方块的 BUG
复制oleaut32.dll,msvcirt.dll
cp C:\WINDOWS\system32\{oleaut32.dll,msvcirt.dll} ~/.wine/drive_c/windows/system32/
在 wine 的配置中,加入一个 oleaut32.dll 的原装先于内建
2.另外可以通过软件中心安装 Microsoft Windows Compatibility Layer (meta package)来安装wine(慢)
wget http://winetricks.org/winetricks
chmod +x winetricks
chmod +x winetricks
sh winetricks msxml3 gdiplus riched20 riched30 ie6 vcrun6 vcrun2005sp1
注意会提示需要手动下载msxml3.msi然后保存到~/.cache/winetricks/msxml3目录
继续执行
sh winetricks msxml3 gdiplus riched20 riched30 ie6 vcrun6 vcrun2005sp1
继续执行
sh winetricks msxml3 gdiplus riched20 riched30 ie6 vcrun6 vcrun2005sp1
在安装RTX的命令行上加上环境参数
env LANG=zh_CN.UTF-8 wine rtx.exe
订阅:
博文 (Atom)